diff --git a/include/openspace/properties/property.h b/include/openspace/properties/property.h
index 80b224bf76..4f40070f44 100644
--- a/include/openspace/properties/property.h
+++ b/include/openspace/properties/property.h
@@ -314,10 +314,10 @@ public:
* Property::ViewOptions::PowerScaledCoordinate = powerScaledCoordinate.
*/
struct ViewOptions {
- static const std::string Color;
- static const std::string LightPosition;
- static const std::string PowerScaledScalar;
- static const std::string PowerScaledCoordinate;
+ static const char* Color;
+ static const char* LightPosition;
+ static const char* PowerScaledScalar;
+ static const char* PowerScaledCoordinate;
};
/**
@@ -329,10 +329,10 @@ public:
const ghoul::Dictionary& metaData() const;
protected:
- static const std::string IdentifierKey;
- static const std::string NameKey;
- static const std::string TypeKey;
- static const std::string MetaDataKey;
+ static const char* IdentifierKey;
+ static const char* NameKey;
+ static const char* TypeKey;
+ static const char* MetaDataKey;
/**
* Creates the information that is general to every Property and adds the
diff --git a/include/openspace/properties/propertyowner.h b/include/openspace/properties/propertyowner.h
index 56a69783bb..e26af2db6f 100644
--- a/include/openspace/properties/propertyowner.h
+++ b/include/openspace/properties/propertyowner.h
@@ -25,7 +25,6 @@
#ifndef __OPENSPACE_CORE___PROPERTYOWNER___H__
#define __OPENSPACE_CORE___PROPERTYOWNER___H__
-#include
#include