From 10a5633f60d7c35c16e1ac8a2fa739da5a2c99db Mon Sep 17 00:00:00 2001 From: Christoph Pohl <christoph.pohl@kit.edu> Date: Mon, 29 Mar 2021 11:21:52 +0200 Subject: [PATCH] Fixed linking issue of static members in RobotSensorMemory.h --- .../armem/server/RobotSensorMemory/RobotSensorMemory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h b/source/RobotAPI/components/armem/server/RobotSensorMemory/RobotSensorMemory.h index 3ac03aeba..6b6ea32c9 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; -- GitLab