aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rng_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/rng_test.cpp')
-rw-r--r--doc/examples/rng_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/rng_test.cpp b/doc/examples/rng_test.cpp
index 3d96b7a42..f630d1c5a 100644
--- a/doc/examples/rng_test.cpp
+++ b/doc/examples/rng_test.cpp
@@ -29,7 +29,7 @@ SecureVector<byte> decode_hex(const std::string& in)
}
catch(std::exception& e)
{
- result.destroy();
+ result.clear();
}
return result;
}