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

Fix swapped function names

parent acf18a71
No related branches found
No related tags found
1 merge request!39Robot unit v3
......@@ -80,7 +80,7 @@ namespace armarx
return sensorDevices.size();
}
std::size_t Devices::getControlDeviceIndex(const std::string& deviceName) const
std::size_t Devices::getSensorDeviceIndex(const std::string& deviceName) const
{
throwIfInControlThread(__FUNCTION__);
throwIfDevicesNotReady(__FUNCTION__);
......@@ -88,7 +88,7 @@ namespace armarx
ARMARX_CHECK_EXPRESSION(sensorDevices.has(deviceName));
return sensorDevices.index(deviceName);
}
std::size_t Devices::getSensorDeviceIndex(const std::string& deviceName) const
std::size_t Devices::getControlDeviceIndex(const std::string& deviceName) const
{
throwIfInControlThread(__FUNCTION__);
throwIfDevicesNotReady(__FUNCTION__);
......
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