Move string_printf to maxbase

Can be used in tests.
This commit is contained in:
Esa Korhonen
2018-11-08 16:32:13 +02:00
parent dbe9e0c471
commit a1e1ac0012
9 changed files with 57 additions and 51 deletions

View File

@ -137,15 +137,6 @@ inline std::vector<std::string> strtok(std::string str, const char* delim)
return rval;
}
/**
* Format parameters to a string. Uses printf-formatting.
*
* @param format Format string
* @param ... Items to convert according to format string
* @return The result string
*/
std::string string_printf(const char* format, ...) mxb_attribute((format (printf, 1, 2)));
/**
* @class CloserTraits utils.hh <maxscale/utils.hh>
*