aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/base.cpp')
-rw-r--r--doc/examples/base.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/base.cpp b/doc/examples/base.cpp
index b81daa410..eca0ccf24 100644
--- a/doc/examples/base.cpp
+++ b/doc/examples/base.cpp
@@ -14,6 +14,8 @@ using namespace Botan;
int main(int argc, char* argv[])
{
+ Botan::LibraryInitializer init;
+
try
{
/* Put it inside the try block so exceptions at startup/shutdown will