mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
Remove c++98 backcompat from timer
This commit is contained in:
parent
c6980ec2d8
commit
c6e5738d54
@ -10,17 +10,7 @@
|
|||||||
|
|
||||||
#include "catch_platform.h"
|
#include "catch_platform.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
|
|
||||||
namespace Catch {
|
|
||||||
typedef unsigned long long UInt64;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
namespace Catch {
|
|
||||||
typedef uint64_t UInt64;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
@ -33,7 +23,7 @@ namespace Catch {
|
|||||||
double getElapsedSeconds() const;
|
double getElapsedSeconds() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
UInt64 m_ticks;
|
uint64_t m_ticks;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Catch
|
} // namespace Catch
|
||||||
|
Loading…
Reference in New Issue
Block a user