Skip to content
Snippets Groups Projects
Commit f57ee7f4 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug: got the last part of the namespace as the prefix, nhot the firt one.

parent 113fe942
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class CAckermannLPModuleBT
module(module)
{
std::size_t found = name.find_last_of("/\\");
this->name=name.substr(0,found);
this->name=name.substr(found+1);
}
template <class ModuleCfg>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment