aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rng_test.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-13 21:50:26 +0000
committerlloyd <[email protected]>2010-09-13 21:50:26 +0000
commitd34529a53979bc5be37c37f0250ad358c1f18e1c (patch)
tree912f6e3de2a55f44da147e4f187064d52ca61649 /doc/examples/rng_test.cpp
parent4fe8a34f1869805d9115f39cad53d1fd7f7eb6c4 (diff)
Fix examples for destroy being renamed clear
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;
}