Increased int size for timers to avoid truncations

This commit is contained in:
Phil Nash committed 2017-12-08 15:59:00 +00:00
1 parent c4d1aa9033
commit 4da655c1b0
2 files changed
+7 -6

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@ namespace Catch {
uint64_t m_nanoseconds = 0;
public:
void start();
auto getElapsedNanoseconds() const -> unsigned int;
auto getElapsedMicroseconds() const -> unsigned int;
auto getElapsedNanoseconds() const -> uint64_t;
auto getElapsedMicroseconds() const -> uint64_t;
auto getElapsedMilliseconds() const -> unsigned int;
auto getElapsedSeconds() const -> double;
};