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

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -27,8 +27,7 @@
#include <cstdint>
namespace openspace {
namespace performance {
namespace openspace::performance {
struct PerformanceLayout {
static const int8_t Version = 0;
@@ -57,7 +56,6 @@ struct PerformanceLayout {
int16_t nFunctionEntries;
};
} // namespace performance
} // namespace openspace
} // namespace openspace::performance
#endif // __OPENSPACE_CORE___PERFORMANCELAYOUT___H__

View File

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -33,15 +33,11 @@
#include <memory>
#include <vector>
namespace ghoul {
class SharedMemory;
}
namespace ghoul { class SharedMemory; }
namespace openspace {
namespace openspace { class SceneGraphNode; }
class SceneGraphNode;
namespace performance {
namespace openspace::performance {
class PerformanceManager {
public:
@@ -95,7 +91,6 @@ private:
bool createLogDir();
};
} // namespace performance
} // namespace openspace
} // namespace openspace::performance
#endif // __OPENSPACE_CORE___PERFORMANCEMANAGER___H__

View File

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -31,8 +31,7 @@
#include <chrono>
#include <string>
namespace openspace {
namespace performance {
namespace openspace::performance {
class PerformanceManager;
@@ -59,7 +58,6 @@ private:
OsEng.renderEngine().performanceManager() \
)
} // namespace performance
} // namespace openspace
} // namespace openspace::performance
#endif // __OPENSPACE_CORE___PERFORMANCEMEASUREMENT___H__