diff options
author | Naios <naios-dev@live.de> | 2015-07-21 20:23:21 +0200 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2015-07-21 20:25:33 +0200 |
commit | 6e4a1b3e1e5a735f26284c560b1463cdd527b2fe (patch) | |
tree | 42b043578178648b168a78cdea890bfdf8e00cf0 /src/server/shared/Utilities/TaskScheduler.h | |
parent | d41f87e62abef6fa4b0dc23274023d91bdc005d8 (diff) |
Core/Utilities: Seperate std::chrono::duration typedefs into its own file.
* add std::chrono_literals using decl. comment for future usage.
Diffstat (limited to 'src/server/shared/Utilities/TaskScheduler.h')
-rw-r--r-- | src/server/shared/Utilities/TaskScheduler.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/server/shared/Utilities/TaskScheduler.h b/src/server/shared/Utilities/TaskScheduler.h index d45835b5f17..f1fe7ea0a21 100644 --- a/src/server/shared/Utilities/TaskScheduler.h +++ b/src/server/shared/Utilities/TaskScheduler.h @@ -29,6 +29,7 @@ #include <boost/optional.hpp> #include "Util.h" +#include "Duration.h" class TaskContext; @@ -646,16 +647,4 @@ private: void Invoke(); }; -/// Milliseconds shorthand typedef. -typedef std::chrono::milliseconds Milliseconds; - -/// Seconds shorthand typedef. -typedef std::chrono::seconds Seconds; - -/// Minutes shorthand typedef. -typedef std::chrono::minutes Minutes; - -/// Hours shorthand typedef. -typedef std::chrono::hours Hours; - #endif /// _TASK_SCHEDULER_H_ |