X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7981fe568ccfcc3c517bd73ac146d2b59fa85ea2..dac676c1180a5ea95897072e55f698433a857d90:/src/surf/trace_mgr_test.cpp diff --git a/src/surf/trace_mgr_test.cpp b/src/surf/trace_mgr_test.cpp index d8bc1c94c0..d9a54b30ca 100644 --- a/src/surf/trace_mgr_test.cpp +++ b/src/surf/trace_mgr_test.cpp @@ -24,9 +24,9 @@ namespace tmgr = simgrid::trace_mgr; XBT_LOG_NEW_DEFAULT_CATEGORY(unit, "Unit tests of the Trace Manager"); double thedate; -class MockedResource : public simgrid::kernel::model::Resource { +class MockedResource : public simgrid::kernel::resource::Resource { public: - explicit MockedResource() : simgrid::kernel::model::Resource(nullptr, "fake", nullptr) {} + explicit MockedResource() : simgrid::kernel::resource::Resource(nullptr, "fake", nullptr) {} void apply_event(tmgr_trace_event_t event, double value) { XBT_VERB("t=%.1f: Change value to %lg (idx: %u)", thedate, value, event->idx); @@ -50,7 +50,7 @@ static void trace2vector(const char* str, std::vector* whereto while (fes.next_date() <= 20.0 && fes.next_date() >= 0) { thedate = fes.next_date(); double value; - simgrid::kernel::model::Resource* res; + simgrid::kernel::resource::Resource* res; tmgr_trace_event_t it = fes.pop_leq(thedate, &value, &res); if (it == nullptr) continue;