1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-17 23:55:15 +00:00

Apply fixes by clang-tidy

This commit is contained in:
Carles Fernandez
2018-12-10 19:05:12 +01:00
parent a7b780fddc
commit 3dce8934fd
16 changed files with 95 additions and 98 deletions

View File

@@ -108,7 +108,7 @@ unsigned fpga_switch::fpga_switch_test_register(
void fpga_switch::close_device()
{
unsigned *aux = const_cast<unsigned *>(d_map_base);
auto *aux = const_cast<unsigned *>(d_map_base);
if (munmap(static_cast<void *>(aux), PAGE_SIZE) == -1)
{
std::cout << "Failed to unmap memory uio" << std::endl;