aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_command_line.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_command_line.cc b/doc/api/cplusplus/examples/example_command_line.cc
index 984fdf61d..cfd07ce1e 100644
--- a/doc/api/cplusplus/examples/example_command_line.cc
+++ b/doc/api/cplusplus/examples/example_command_line.cc
@@ -16,8 +16,6 @@ using namespace examples;
using std::cout;
using std::endl;
-template class Singleton<CommandLine>;
-
CommandLine::CommandLine() :
ArgsHandler(),
@@ -94,3 +92,7 @@ CommandLine::run(const int argc, const char * const * const argv, const std::str
show_version_and_exit();
}
+namespace paludis
+{
+ template class Singleton<CommandLine>;
+}