aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/factor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/factor.cpp')
-rw-r--r--doc/examples/factor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/factor.cpp b/doc/examples/factor.cpp
index 70dde1050..ff3c23c5d 100644
--- a/doc/examples/factor.cpp
+++ b/doc/examples/factor.cpp
@@ -119,6 +119,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
try
{
BigInt n(argv[1]);