Fixed source typo

Fixed for better search quality through the code.
This commit is contained in:
luz.paz
2018-01-14 12:16:52 -05:00
committed by wmayer
parent e09a276fe5
commit 4fb16c6964

View File

@@ -117,14 +117,14 @@ double Robot6Axis::getMinAngle(int Axis)
return Min(Axis) * (180.0/M_PI);
}
void split(std::string const& string, const char delemiter, std::vector<std::string>& destination)
void split(std::string const& string, const char delimiter, std::vector<std::string>& destination)
{
std::string::size_type last_position(0);
std::string::size_type position(0);
for (std::string::const_iterator it(string.begin()); it != string.end(); ++it, ++position)
{
if (*it == delemiter )
if (*it == delimiter )
{
destination.push_back(string.substr(last_position, position - last_position ));
last_position = position + 1;