Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_timer.cpp
diff options
context:
space:
mode:
authorPhil Nash2018-06-12 13:42:33 +0100
committerPhil Nash2018-06-12 13:42:33 +0100
commit788f81230f80cec0551e345cbe42e7d9288fe1f7 (patch)
tree8014a38dc6d4a9154a0a007f94924d413c8c6a22 /include/internal/catch_timer.cpp
parentc5301bf8bf0891c633ac61ca66eb1ae0d3e0aa65 (diff)
downloadcatch3-788f81230f80cec0551e345cbe42e7d9288fe1f7.tar.gz
Fixed errors and warnings on OC project
Diffstat (limited to 'include/internal/catch_timer.cpp')
-rw-r--r--include/internal/catch_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_timer.cpp b/include/internal/catch_timer.cpp
index 6786efb0..12c04865 100644
--- a/include/internal/catch_timer.cpp
+++ b/include/internal/catch_timer.cpp
@@ -18,7 +18,7 @@ namespace Catch {
return std::chrono::duration_cast<std::chrono::nanoseconds>( std::chrono::high_resolution_clock::now().time_since_epoch() ).count();
}
- auto estimateClockResolution() -> uint64_t {
+ inline auto estimateClockResolution() -> uint64_t {
uint64_t sum = 0;
static const uint64_t iterations = 1000000;