Commit cfc6301b authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Added removal of file path in emitdb rev detection.

parent b2b04709
Pipeline #163248 passed with stages
in 19 minutes and 37 seconds
......@@ -22,7 +22,7 @@ EmitDb::EmitDb(const EmitDb& orig)
void XGamDb::load(const std::string& file, EmitDb& database)
{
std::string revStr = radix::split_string(".", file)[1];
std::string revStr = radix::split_string(".", radix::basename(file))[1];
int revNum = std::atoi(revStr.substr(revStr.size() - 1, 1).c_str());
int indexThreshold = 70, indexIterator = 20;
int linecount = 0;
......
Markdown is supported
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