diff --git a/include/loki/SafeFormat.h b/include/loki/SafeFormat.h index e3c8852..19a1b2a 100755 --- a/include/loki/SafeFormat.h +++ b/include/loki/SafeFormat.h @@ -521,7 +521,7 @@ namespace Loki return PrintfState(stdout, format); } - PrintfState Printf(const std::string format) { + PrintfState Printf(const std::string format) { return PrintfState(stdout, format.c_str()); } @@ -529,7 +529,7 @@ namespace Loki return PrintfState(f, format); } - PrintfState FPrintf(FILE* f, const std::string& format) { + PrintfState FPrintf(FILE* f, const std::string& format) { return PrintfState(f, format.c_str()); } @@ -537,8 +537,8 @@ namespace Loki return PrintfState(s, format); } - PrintfState SPrintf(std::string& s, const std::string& format) { - return PrintfState(s, format.c_str()); + PrintfState SPrintf(std::string& s, const std::string& format) { + return PrintfState(s, format.c_str()); } template @@ -546,9 +546,9 @@ namespace Loki return PrintfState(device, format); } - template - PrintfState XPrintf(T& device, const std::string& format) { - return PrintfState(device, format.c_str()); + template + PrintfState XPrintf(T& device, const std::string& format) { + return PrintfState(device, format.c_str()); } template