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

Remove guards from ModuleBase::onConnectComponent and ModuleBase::onDisconnectComponent

parent d3343dd1
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,6 @@ namespace armarx
void ModuleBase::onConnectComponent()
{
checkDerivedClasses();
auto guard = getGuard();
#define call_module_hook(Type) cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnConnectRobotUnit(), true)
for_each_module(call_module_hook)
......@@ -150,7 +149,6 @@ namespace armarx
void ModuleBase::onDisconnectComponent()
{
checkDerivedClasses();
auto guard = getGuard();
#define call_module_hook(Type) cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnDisconnectRobotUnit(), true)
for_each_module(call_module_hook)
......
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