Replacing const std::string with const char* to reduce binary size and initialization costs

This commit is contained in:
Alexander Bock
2016-11-23 23:52:16 +01:00
parent 7ffcf81235
commit b00595af40
47 changed files with 242 additions and 266 deletions
@@ -37,15 +37,15 @@
namespace {
const std::string _loggerCat = "RenderableModelProjection";
const std::string keySource = "Rotation.Source";
const std::string keyDestination = "Rotation.Destination";
const std::string keyGeometry = "Geometry";
const std::string keyProjection = "Projection";
const std::string keyBoundingSphereRadius = "BoundingSphereRadius";
const char* keySource = "Rotation.Source";
const char* keyDestination = "Rotation.Destination";
const char* keyGeometry = "Geometry";
const char* keyProjection = "Projection";
const char* keyBoundingSphereRadius = "BoundingSphereRadius";
const std::string keyTextureColor = "Textures.Color";
const char* keyTextureColor = "Textures.Color";
const std::string _destination = "GALACTIC";
const char* _destination = "GALACTIC";
}
namespace openspace {