From 5a5cb175e7b9dcb921414f0825e463291d91e9db Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 10 Apr 2012 23:22:55 +0200 Subject: [PATCH] Avoid ambiguity with QString by providing mxinfo(char const *) overload --- src/common/output.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/output.h b/src/common/output.h index e76da6c68..f972cee50 100644 --- a/src/common/output.h +++ b/src/common/output.h @@ -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);