Chrono fixes for VS Update 2

This commit is contained in:
seelabs
2016-02-23 20:21:16 -05:00
parent d3b43bfa37
commit 3605bf1f60
24 changed files with 34 additions and 898 deletions

View File

@@ -436,6 +436,7 @@ template <class Rep, class Period>
void JobQueue::on_dequeue (JobType type,
std::chrono::duration <Rep, Period> const& value)
{
using namespace std::chrono;
auto const ms (ceil <std::chrono::milliseconds> (value));
if (ms.count() >= 10)
@@ -446,6 +447,7 @@ template <class Rep, class Period>
void JobQueue::on_execute (JobType type,
std::chrono::duration <Rep, Period> const& value)
{
using namespace std::chrono;
auto const ms (ceil <std::chrono::milliseconds> (value));
if (ms.count() >= 10)