From d34529a53979bc5be37c37f0250ad358c1f18e1c Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 13 Sep 2010 21:50:26 +0000 Subject: Fix examples for destroy being renamed clear --- doc/examples/rng_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/rng_test.cpp') 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 decode_hex(const std::string& in) } catch(std::exception& e) { - result.destroy(); + result.clear(); } return result; } -- cgit v1.2.3