fix compilation issue

master
Francisco Paisana 5 years ago
parent 67ccaf1029
commit 0b962f19f4

@ -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 *

@ -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;

Loading…
Cancel
Save