Fix fixing of std::string object names

Comparing two fixed std::strings would have equal C strings but comparing
with operator== they would be different. This was a result of the string
modification done by fix_object_name.

Converted the internal header into a C++ header, added std::string
overload and fixed use of the function.
This commit is contained in:
Markus Mäkelä
2018-07-29 10:59:58 +03:00
parent afde1fa072
commit 3be975ba5d
11 changed files with 25 additions and 20 deletions

View File

@ -41,7 +41,7 @@
#include <maxscale/query_classifier.h>
#include "internal/modules.h"
#include "internal/config.h"
#include "internal/config.hh"
namespace
{