diff options
author | 2011-08-07 03:35:05 +0200 | |
---|---|---|
committer | 2011-08-07 18:18:38 +0100 | |
commit | 0d9560ed1d5bfcb57752a0f4e66c74eef64188f4 (patch) | |
tree | 5789db7a2e875e7249a29ba9fc16e9bd6851287b /doc/api/cplusplus/examples/example_command_line.cc | |
parent | f4136ef1d6b8bcb2bf1ce5c0a418b29961dc7948 (diff) | |
download | paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.gz paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.xz |
Move explicit instantiations to namespace paludis
Makes clang++ happy
Diffstat (limited to 'doc/api/cplusplus/examples/example_command_line.cc')
-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>; +} |