Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove c++98 backcompat from timer

Commit
c6e5738d54f400b8dc02d6b43cc1beb6edfe5e82
Author
Martin Hořeňovský ·
Parents
c6980ec2d852

Files · Download .tar.gz

Changes

 include/internal/catch_timer.h | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/include/internal/catch_timer.h b/include/internal/catch_timer.h
index 607aa6bb..1d690160 100644
--- a/include/internal/catch_timer.h
+++ b/include/internal/catch_timer.h
@@ -10,17 +10,7 @@
 
 #include "catch_platform.h"
 
-#ifdef _MSC_VER
-
-namespace Catch {
-    typedef unsigned long long UInt64;
-}
-#else
 #include <stdint.h>
-namespace Catch {
-    typedef uint64_t UInt64;
-}
-#endif
 
 
 namespace Catch {
@@ -33,7 +23,7 @@ namespace Catch {
         double getElapsedSeconds() const;
 
     private:
-        UInt64 m_ticks;
+        uint64_t m_ticks;
     };
 
 } // namespace Catch