MXS-2208 Move trim-functions from maxscale to maxbase

log.h now includes string.hh, which is conceptually wrong, but
log.h will shortly disappear and be superceded by log.hh.
This commit is contained in:
Johan Wikman
2018-12-05 14:54:41 +02:00
parent 60cbeaf287
commit 1b5b789342
25 changed files with 352 additions and 339 deletions

View File

@ -267,7 +267,7 @@ int avro_client_callback(DCB* dcb, DCB_REASON reason, void* userdata)
*/
std::pair<std::string, std::string> get_avrofile_and_gtid(std::string file)
{
mxs::ltrim(file);
mxb::ltrim(file);
auto pos = file.find_first_of(' ');
std::string filename;
std::string gtid;