fixes for portable hrc class on win

This commit is contained in:
Stephen Birarda 2015-09-14 11:07:57 -07:00
parent 2737e74432
commit f7f54010f5
2 changed files with 2 additions and 1 deletions

View file

@ -18,7 +18,7 @@ namespace {
LARGE_INTEGER frequency;
QueryPerformanceFrequency(&frequency);
return frequency.QuadPart;
}
}();
}
win_high_resolution_clock::time_point win_high_resolution_clock::now() {

View file

@ -23,6 +23,7 @@
#if defined(_MSC_VER) && _MSC_VER < 1900
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// The following struct is not compliant with the HF coding standard, but uses underscores to match the classes