Commit 795b5d54 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: remove useless substr

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -153,7 +153,7 @@ CommandLineParser::GetPaths( std::vector<std::string> & paths, const std::string ...@@ -153,7 +153,7 @@ CommandLineParser::GetPaths( std::vector<std::string> & paths, const std::string
if( tempModPath.size() > 0 ) if( tempModPath.size() > 0 )
{ {
std::vector<itksys::String> pathAttribut = itksys::SystemTools::SplitString(tempModPath.substr(0, tempModPath.size()), ' ', false); std::vector<itksys::String> pathAttribut = itksys::SystemTools::SplitString(tempModPath, ' ', false);
// Remove " " string element // Remove " " string element
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment