Fix build failure

mxs::rtrim was renamed to mxb::rtrim.
This commit is contained in:
Markus Mäkelä
2019-06-20 23:17:41 +03:00
parent 0b67ce1e82
commit 278c26cd54

View File

@ -31,6 +31,7 @@
#include <maxscale/dcb.hh>
#include <maxscale/version.h>
#include <maxbase/alloc.h>
#include <maxbase/string.hh>
#include <maxscale/buffer.hh>
#include <maxscale/utils.hh>
#include <maxscale/routingworker.hh>
@ -585,7 +586,7 @@ GWBUF* read_avro_json_schema(std::string avrofile, std::string dir)
std::stringstream ss;
ss << file.rdbuf();
std::string text = ss.str();
mxs::rtrim(text);
mxb::rtrim(text);
text += '\n';
mxs::Buffer buffer(std::vector<uint8_t>(text.begin(), text.end()));
rval = buffer.release();