X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fformat.hpp;h=389bc596ad85787c7f00aa7506532f56898551cf;hb=a4cc1b1ff4fc661a3980bbe2ceba789acf05dfce;hp=b586fd489f8f934f8ace25808c7e19ce2acd4fe9;hpb=cd9adb8b829564212158943a0d279bb35322ab30;p=lttng-tools.git diff --git a/src/common/format.hpp b/src/common/format.hpp index b586fd489..389bc596a 100644 --- a/src/common/format.hpp +++ b/src/common/format.hpp @@ -9,8 +9,8 @@ #include -#include #include +#include DIAGNOSTIC_PUSH DIAGNOSTIC_IGNORE_SUGGEST_ATTRIBUTE_FORMAT @@ -26,8 +26,9 @@ DIAGNOSTIC_POP namespace fmt { template <> struct formatter : formatter { - template - typename FormatCtx::iterator format(const std::type_info& type_info, FormatCtx& ctx) + template + typename FormatContextType::iterator format(const std::type_info& type_info, + FormatContextType& ctx) { int status; auto demangled_name =