aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-24 23:52:43 -0500
committerJack Lloyd <[email protected]>2015-12-24 23:52:43 -0500
commit20e7a430425f20c939e872c932c29330f8db5422 (patch)
treeeedb0992dcd5916a2a3dec7b1236e12f625e467e /src/cli
parent9c504c706eec7fd96f728d1da28f6661a3d640b8 (diff)
Fix a few clang warnings. Set clang sanitizer flags
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/bench.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cli/bench.cpp b/src/cli/bench.cpp
index d2688421c..ba498d767 100644
--- a/src/cli/bench.cpp
+++ b/src/cli/bench.cpp
@@ -132,16 +132,6 @@ class Timer
uint64_t m_event_count = 0, m_event_mult = 0;
};
-inline bool operator<(const Timer& x, const Timer& y)
- {
- return (x.get_name() < y.get_name());
- }
-
-inline bool operator==(const Timer& x, const Timer& y)
- {
- return (x.get_name() == y.get_name());
- }
-
std::ostream& operator<<(std::ostream& out, Timer& timer)
{
const double events_per_second = timer.events() / timer.seconds();