From 4fb16c6964464fefa351f7d87e68f087f508a97a Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sun, 14 Jan 2018 12:16:52 -0500 Subject: [PATCH] Fixed source typo Fixed for better search quality through the code. --- src/Mod/Robot/App/Robot6Axis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Robot/App/Robot6Axis.cpp b/src/Mod/Robot/App/Robot6Axis.cpp index 4de8b71fc9..5a4bcfe3e0 100644 --- a/src/Mod/Robot/App/Robot6Axis.cpp +++ b/src/Mod/Robot/App/Robot6Axis.cpp @@ -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& destination) +void split(std::string const& string, const char delimiter, std::vector& 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;