diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-06-13 13:42:26 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-06-13 13:42:26 (GMT) |
commit | d6602a2aab1dc00663bd64759f12935283b58076 (patch) | |
tree | 0dc8a7c705da22dc39939d23192e0f56639bc45d /src/uscxml/interpreter/BasicEventQueue.cpp | |
parent | 07395f2766d70c55f51674dc3027d7b19a4ccc26 (diff) | |
download | uscxml-d6602a2aab1dc00663bd64759f12935283b58076.zip uscxml-d6602a2aab1dc00663bd64759f12935283b58076.tar.gz uscxml-d6602a2aab1dc00663bd64759f12935283b58076.tar.bz2 |
Fixed issue84
Diffstat (limited to 'src/uscxml/interpreter/BasicEventQueue.cpp')
-rw-r--r-- | src/uscxml/interpreter/BasicEventQueue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uscxml/interpreter/BasicEventQueue.cpp b/src/uscxml/interpreter/BasicEventQueue.cpp index 7309392..d484ada 100644 --- a/src/uscxml/interpreter/BasicEventQueue.cpp +++ b/src/uscxml/interpreter/BasicEventQueue.cpp @@ -39,9 +39,9 @@ Event BasicEventQueue::dequeue(size_t blockMs) { // block for given milliseconds or until queue is filled std::chrono::time_point<std::chrono::system_clock> updated, now; std::chrono::milliseconds remain; - - if (blockMs > std::chrono::system_clock::duration::max().count()) { - blockMs = std::chrono::system_clock::duration::max().count(); + + if (blockMs > (std::chrono::system_clock::duration::max)().count()) { + blockMs = (std::chrono::system_clock::duration::max)().count(); } updated = now = std::chrono::system_clock::now(); |