Skip to content
Snippets Groups Projects
Commit 4a7ff936 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix build

parent 51a245c0
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ std::string DecodeName(const std::string &name) {
std::string EscapeQuery(const std::string& query) {
std::regex specialChars { R"([-[\]{}()*+?\\.,\^$|#\s])" };
return std::regex_replace( query, specialChars, R"(\$&)" );
return std::regex_replace( query, specialChars, std::string(R"(\$&)" ));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment