From b14127fc125dbbfc841ef8248bc797896dd2223f Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 17 Mar 2009 02:46:01 +0000 Subject: Add LibraryInitializers to the examples, instead of relying on lazy init. Patch from David X Callaway. --- doc/examples/stack.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/examples/stack.cpp') diff --git a/doc/examples/stack.cpp b/doc/examples/stack.cpp index 389b12e7e..1522b05f5 100644 --- a/doc/examples/stack.cpp +++ b/doc/examples/stack.cpp @@ -20,6 +20,8 @@ int main(int argc, char* argv[]) return 1; } + Botan::LibraryInitializer init; + // this is a pretty vacuous example, but it's useful as a test Botan::Pipe pipe; -- cgit v1.2.3