diff options
author | Tyler Brock <tyler.brock@gmail.com> | 2014-09-19 09:23:33 -0400 |
---|---|---|
committer | Tyler Brock <tyler.brock@gmail.com> | 2014-09-19 09:34:32 -0400 |
commit | d0afb7a6c1fdfeefbed93bb3a5d3947fdb712ed4 (patch) | |
tree | 859d2419342d7d49c9ba904c1e279534788f164b /src/mongo/dbtests/perftests.cpp | |
parent | db59c175c736609970b52f91e30fc2277e22b25b (diff) | |
download | mongo-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.cpp | 3 |
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; } }; |