Started switching OpenSpace projects to nested namespaces

Various cleanups
This commit is contained in:
Alexander Bock
2017-07-15 20:01:55 -04:00
parent 9d4215695d
commit 4dba552fd1
331 changed files with 1126 additions and 1917 deletions

View File

@@ -45,8 +45,7 @@ namespace {
const char* JsFilename = "${OPENSPACE_DATA}/web/documentation/script.js";
} // namespace
namespace openspace {
namespace documentation {
namespace openspace::documentation {
DocumentationEngine* DocumentationEngine::_instance = nullptr;
@@ -322,5 +321,4 @@ std::vector<Documentation> DocumentationEngine::documentations() const {
return _documentations;
}
} // namespace documentation
} // namespace openspace
} // namespace openspace::documentation

View File

@@ -28,8 +28,7 @@
#include <algorithm>
namespace openspace {
namespace documentation {
namespace openspace::documentation {
// The explicit template instantiations for many of the commonly used template values
// This cuts down on the compilation time by only compiling these once
@@ -348,5 +347,4 @@ std::string OrVerifier::documentation() const {
}
} // namespace documentation
} // namespace openspace
} // namespace openspace::documentation