Avoid ambiguity with QString by providing mxinfo(char const *) overload

This commit is contained in:
Moritz Bunkus 2012-04-10 23:22:55 +02:00
parent 75cd192440
commit 5a5cb175e7

View File

@ -45,6 +45,9 @@ void mxinfo(const std::string &info);
inline void mxinfo(const boost::format &info) {
mxinfo(info.str());
}
inline void mxinfo(char const *info) {
mxinfo(std::string{info});
}
void mxinfo(const std::wstring &info);
void mxinfo(const boost::wformat &info);