Fixed source typo
Fixed for better search quality through the code.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user