X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3539cb11977a91a6c4670f2db77cd8dc2ca970ae..9bcb63f930aaeacc097bd7bb46d6c3ee85743331:/include/simgrid/chrono.hpp diff --git a/include/simgrid/chrono.hpp b/include/simgrid/chrono.hpp index d3759cad03..3d8ea5a086 100644 --- a/include/simgrid/chrono.hpp +++ b/include/simgrid/chrono.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -37,7 +37,8 @@ namespace simgrid { * @endcode * */ -struct SimulationClock { +class SimulationClock { +public: using rep = double; using period = std::ratio<1>; using duration = std::chrono::duration;