path -> const

This commit is contained in:
Erwin Coumans 2018-06-12 21:26:34 -07:00
parent ce9f29e416
commit c27fb4003e
2 changed files with 2 additions and 2 deletions

View File

@ -2182,7 +2182,7 @@ bool b3RobotSimulatorClientAPI_NoDirect::getVisualShapeData(int bodyUniqueId, b3
}
}
void b3RobotSimulatorClientAPI_NoDirect::setAdditionalSearchPath(std::string path)
void b3RobotSimulatorClientAPI_NoDirect::setAdditionalSearchPath(const std::string& path)
{
int physicsClientId = 0;
b3PhysicsClientHandle sm = m_data->m_physicsClientHandle;

View File

@ -657,7 +657,7 @@ public:
{
return SHARED_MEMORY_MAGIC_NUMBER;
}
void setAdditionalSearchPath(std::string path);
void setAdditionalSearchPath(const std::string& path);
};