aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash_quickly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/hash_quickly.cpp')
-rw-r--r--doc/examples/hash_quickly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/hash_quickly.cpp b/doc/examples/hash_quickly.cpp
index a18ab4fa6..87937efff 100644
--- a/doc/examples/hash_quickly.cpp
+++ b/doc/examples/hash_quickly.cpp
@@ -29,7 +29,7 @@ namespace {
void set_fastest_implementation(const std::string& algo,
Botan::RandomNumberGenerator& rng,
- double ms = 30)
+ std::chrono::milliseconds ms = std::chrono::milliseconds(30))
{
Botan::Algorithm_Factory& af = Botan::global_state().algorithm_factory();