Skip to content
Snippets Groups Projects
Commit 632b8480 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Fix uninitialized member of ControlDevice and SensorDevice

parent d553fe7d
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ namespace armarx
private:
friend class RobotUnitModule::Devices;
/// @brief The owning \ref RobotUnit. (is set when this \ref SensorDevice is added to the \ref RobotUnit)
std::atomic<RobotUnitModule::Devices*> owner;
std::atomic<RobotUnitModule::Devices*> owner {nullptr};
/// @brief The \ref JointController "JointControllers" managed by this \ref ControlDevice
KeyValueVector<std::string, JointController*> jointControllers;
/// @brief The currently executed \ref JointController
......
......@@ -87,7 +87,7 @@ namespace armarx
private:
friend class RobotUnitModule::Devices;
/// @brief The owning \ref RobotUnit. (is set when this \ref SensorDevice is added to the \ref RobotUnit)
std::atomic<RobotUnitModule::Devices*> owner;
std::atomic<RobotUnitModule::Devices*> owner {nullptr};
};
template<class SensorValueType>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment