summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/perftests.cpp
diff options
context:
space:
mode:
authorTyler Brock <tyler.brock@gmail.com>2014-09-19 09:23:33 -0400
committerTyler Brock <tyler.brock@gmail.com>2014-09-19 09:34:32 -0400
commitd0afb7a6c1fdfeefbed93bb3a5d3947fdb712ed4 (patch)
tree859d2419342d7d49c9ba904c1e279534788f164b /src/mongo/dbtests/perftests.cpp
parentdb59c175c736609970b52f91e30fc2277e22b25b (diff)
downloadmongo-d0afb7a6c1fdfeefbed93bb3a5d3947fdb712ed4.tar.gz
SERVER-15305 remove undefined bool conversion error
Diffstat (limited to 'src/mongo/dbtests/perftests.cpp')
-rw-r--r--src/mongo/dbtests/perftests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/dbtests/perftests.cpp b/src/mongo/dbtests/perftests.cpp
index 86deebe8ca7..cb36384e538 100644
--- a/src/mongo/dbtests/perftests.cpp
+++ b/src/mongo/dbtests/perftests.cpp
@@ -749,8 +749,7 @@ namespace PerfTests {
virtual int howLongMillis() { return 3000; }
string name() { return "thread-local-storage"; }
void timed() {
- if( &cc() )
- dontOptimizeOutHopefully++;
+ dontOptimizeOutHopefully++;
}
virtual bool showDurStats() { return false; }
};