Skip to content

Commit 06b6bc3

Browse files
committed
remove unused backwards compat code
1 parent edc03b9 commit 06b6bc3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

CScopedTimer.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
#include "headers/HAIInterface.h"
1313
#include "headers/HEngine.h"
1414

15-
#if (BOOST_VERSION >= 105000) // boost 1.50 renamed TIME_UTC to TIME_UTC_
16-
#define boost_TIME_UTC_override boost::TIME_UTC_
17-
#else
18-
#define boost_TIME_UTC_override boost::TIME_UTC
19-
#endif
20-
2115
#define PROFILE(x) CScopedTimer t(std::string(#x), ai->cb);
2216

2317
// Time interval in logic frames (1 min)
@@ -42,7 +36,7 @@ class CScopedTimer {
4236

4337
static unsigned int GetEngineRuntimeMSec() {
4438
boost::xtime t;
45-
boost::xtime_get(&t, boost_TIME_UTC_override);
39+
boost::xtime_get(&t, boost::TIME_UTC_);
4640
const unsigned int milliSeconds = t.sec * 1000 + (t.nsec / 1000000);
4741
return milliSeconds;
4842
}

0 commit comments

Comments
 (0)