commit | 7e290fb96530bd14c4fb6f9f40eb692af5e2e21c | [log] [tgz] |
---|---|---|
author | Dominic Hamon <dma+github@stripysock.com> | Thu Nov 13 13:12:28 2014 -0800 |
committer | Dominic Hamon <dma+github@stripysock.com> | Thu Nov 13 13:12:28 2014 -0800 |
tree | 52346873a3a315fffb185a954142e43dc1168f61 | |
parent | 66f0b5d0ed0df295e2e52dcd4e4609a9f167ec79 [diff] |
Fix release builds
diff --git a/test/benchmark_test.cc b/test/benchmark_test.cc index 7f7f939..e0f3262 100644 --- a/test/benchmark_test.cc +++ b/test/benchmark_test.cc
@@ -16,9 +16,11 @@ namespace { +#ifdef DEBUG int ATTRIBUTE_NOINLINE Factorial(uint32_t n) { return (n == 1) ? 1 : n * Factorial(n - 1); } +#endif double CalculatePi(int depth) { double pi = 0.0;