From 0b962f19f4df1d3cfa2d03bd219c15796cb9e31d Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Thu, 21 Nov 2019 16:36:39 +0000 Subject: [PATCH] fix compilation issue --- srsenb/test/mac/scheduler_test_rand.cc | 10 +++++----- srsenb/test/upper/rrc_mobility_test.cc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/srsenb/test/mac/scheduler_test_rand.cc b/srsenb/test/mac/scheduler_test_rand.cc index f84ee049d..1b95b66c1 100644 --- a/srsenb/test/mac/scheduler_test_rand.cc +++ b/srsenb/test/mac/scheduler_test_rand.cc @@ -101,11 +101,11 @@ void erase_if(MapContainer& c, Predicate should_remove) * Logging * *******************/ -class log_tester2 final : public srslte::scoped_tester_log +class log_tester final : public srslte::scoped_tester_log { public: - log_tester2() : srslte::scoped_tester_log("MAC") { exit_on_error = true; } - ~log_tester2() override { log_diagnostics(); } + log_tester() : srslte::scoped_tester_log("MAC") { exit_on_error = true; } + ~log_tester() override { log_diagnostics(); } void log_diagnostics() override { @@ -118,8 +118,8 @@ public: info("[TESTER] This was the seed: %u\n", seed); } }; -log_tester2 log_global; -bool check_old_pids = true; +log_tester log_global; +bool check_old_pids = true; /******************* * Dummies * diff --git a/srsenb/test/upper/rrc_mobility_test.cc b/srsenb/test/upper/rrc_mobility_test.cc index 00ec6126c..afb71770e 100644 --- a/srsenb/test/upper/rrc_mobility_test.cc +++ b/srsenb/test/upper/rrc_mobility_test.cc @@ -151,7 +151,7 @@ int test_correct_insertion() int test_correct_meascfg_calculation() { srslte::scoped_tester_log log_test("MEASCFG_CALC"); - var_meas_cfg_t src_var(&log_h), target_var(&log_h); + var_meas_cfg_t src_var(&log_h), target_var(&log_h); meas_cell_cfg_t cell1{}, cell2{}; cell1.earfcn = 3400; @@ -313,4 +313,4 @@ int main() printf("Success\n"); return 0; -} \ No newline at end of file +}