diff options
| author | Phil Nash | 2018-06-12 13:42:33 +0100 |
|---|---|---|
| committer | Phil Nash | 2018-06-12 13:42:33 +0100 |
| commit | 788f81230f80cec0551e345cbe42e7d9288fe1f7 (patch) | |
| tree | 8014a38dc6d4a9154a0a007f94924d413c8c6a22 /include/internal/catch_timer.cpp | |
| parent | c5301bf8bf0891c633ac61ca66eb1ae0d3e0aa65 (diff) | |
| download | catch3-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.cpp | 2 |
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; |