diff --git a/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h b/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h
index 3ac03aebafa0b3480c7457ee9b028f9515904170..6b6ea32c9ce4b8faa790f2c5158213e7c516b52c 100644
--- a/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h
+++ b/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h
@@ -137,7 +137,7 @@ namespace armarx
         };
 
         // params
-        static const int ROBOT_UNIT_MAXIMUM_FREQUENCY = 100;
+        static constexpr int ROBOT_UNIT_MAXIMUM_FREQUENCY = 100;
         int robotUnitPollFrequency = 50;
         std::string robotUnitSensorPrefix = "sens.*";
         unsigned int robotUnitMemoryBatchSize = 50;
@@ -158,7 +158,7 @@ namespace armarx
         };
 
         // params
-        static const int ROBOT_STATE_COMPONENT_MAXIMUM_FREQUENCY = 100;
+        static constexpr int ROBOT_STATE_COMPONENT_MAXIMUM_FREQUENCY = 100;
         int robotStateComponentPollFrequency = 50;
         unsigned int robotStateComponentMemoryBatchSize = 50;