A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix the build on centos
[simgrid.git]
/
src
/
surf
/
trace_mgr_test.cpp
diff --git
a/src/surf/trace_mgr_test.cpp
b/src/surf/trace_mgr_test.cpp
index
d9a54b3
..
3b64866
100644
(file)
--- a/
src/surf/trace_mgr_test.cpp
+++ b/
src/surf/trace_mgr_test.cpp
@@
-4,12
+4,12
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#define BOOST_TEST_MODULE Trace Manager tests
* under the terms of the license (GNU LGPL) which comes with this package. */
#define BOOST_TEST_MODULE Trace Manager tests
-bool init_unit_test(); // boost
forget to give this prototype on NetBSD
, which does not fit our paranoid flags
+bool init_unit_test(); // boost
sometimes forget to give this prototype (NetBSD and other)
, which does not fit our paranoid flags
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
-#include "s
rc/kernel/model
/Resource.hpp"
+#include "s
imgrid/kernel/resource
/Resource.hpp"
#include "src/surf/surf_interface.hpp"
#include "src/surf/trace_mgr.hpp"
#include "src/surf/surf_interface.hpp"
#include "src/surf/trace_mgr.hpp"
@@
-27,12
+27,12
@@
double thedate;
class MockedResource : public simgrid::kernel::resource::Resource {
public:
explicit MockedResource() : simgrid::kernel::resource::Resource(nullptr, "fake", nullptr) {}
class MockedResource : public simgrid::kernel::resource::Resource {
public:
explicit MockedResource() : simgrid::kernel::resource::Resource(nullptr, "fake", nullptr) {}
- void apply_event(tmgr_trace_event_t event, double value)
+ void apply_event(tmgr_trace_event_t event, double value)
override
{
XBT_VERB("t=%.1f: Change value to %lg (idx: %u)", thedate, value, event->idx);
tmgr_trace_event_unref(&event);
}
{
XBT_VERB("t=%.1f: Change value to %lg (idx: %u)", thedate, value, event->idx);
tmgr_trace_event_unref(&event);
}
- bool is
Used()
{ return true; }
+ bool is
_used() override
{ return true; }
};
static void trace2vector(const char* str, std::vector<tmgr::DatedValue>* whereto)
};
static void trace2vector(const char* str, std::vector<tmgr::DatedValue>* whereto)