We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbac4f8 commit fd5174aCopy full SHA for fd5174a
include/boost/chrono/detail/inlined/win/chrono.hpp
@@ -15,6 +15,7 @@
15
#include <boost/winapi/time.hpp>
16
#include <boost/winapi/timers.hpp>
17
#include <boost/winapi/get_last_error.hpp>
18
+#include <boost/winapi/error_codes.hpp>
19
#include <boost/assert.hpp>
20
21
namespace boost
@@ -70,7 +71,7 @@ namespace chrono_detail
70
71
{
72
boost::winapi::DWORD_ cause =
73
((nanosecs_per_tic <= 0.0L)
- ? ERROR_NOT_SUPPORTED
74
+ ? boost::winapi::ERROR_NOT_SUPPORTED_
75
: boost::winapi::GetLastError());
76
if (::boost::chrono::is_throws(ec)) {
77
boost::throw_exception(
0 commit comments