diff options
author | Naios <naios-dev@live.de> | 2015-07-21 20:23:21 +0200 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2015-07-22 01:59:50 +0200 |
commit | 4c0c6348144f0dc9de3e5aa97e0a5c43b164f443 (patch) | |
tree | dc172f69b4d7f217b3f4f51a38ffc7cc92a38c2e /src/server/shared/Utilities/TaskScheduler.h | |
parent | e2974746aed7cbcb6112ac7a1fa27137316d22e2 (diff) |
Core/Utilities: Seperate std::chrono::duration typedefs into its own file.
* add std::chrono_literals using decl. comment for future usage.
(cherry picked from commit 6e4a1b3e1e5a735f26284c560b1463cdd527b2fe)
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_ |