diff options
Diffstat (limited to 'doc/api/cplusplus/examples')
-rw-r--r-- | doc/api/cplusplus/examples/example_command_line.cc | 6 |
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>; +} |