aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/bench.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-17 05:51:34 +0000
committerlloyd <[email protected]>2009-11-17 05:51:34 +0000
commit471847e2148776e62e4f580ade95572fc525c751 (patch)
treed4d44bab68b9a95690d8d1a6275f47c4359312f7 /doc/examples/bench.cpp
parentc12e0e4f45497f8ecb628ba7d753f87aa8db0813 (diff)
Fix some examples for changed APIs in C++0x branch
Diffstat (limited to 'doc/examples/bench.cpp')
-rw-r--r--doc/examples/bench.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/bench.cpp b/doc/examples/bench.cpp
index db2170dc4..7d53e0557 100644
--- a/doc/examples/bench.cpp
+++ b/doc/examples/bench.cpp
@@ -60,8 +60,7 @@ const std::string algos[] = {
"",
};
-void benchmark_algo(const std::string& algo,
- RandomNumberGenerator& rng)
+int main()
{
LibraryInitializer init;