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

@ -56,7 +56,7 @@
#include <debugcli.h>
#include "../../../core/internal/config.h"
#include "../../../core/internal/config.hh"
#include "../../../core/internal/config_runtime.h"
#include "../../../core/internal/maxscale.h"
#include "../../../core/internal/modules.h"