summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corestr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r--src/lib/util/corestr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h
index 519e1edc849..94f13c4061b 100644
--- a/src/lib/util/corestr.h
+++ b/src/lib/util/corestr.h
@@ -68,7 +68,7 @@ int strvprintf(std::string &str, const char *format, va_list args);
int strcatvprintf(std::string &str, const char *format, va_list args);
int strprintf(std::string &str, const char *format, ...) ATTR_PRINTF(2, 3);
int strcatprintf(std::string &str, const char *format, ...) ATTR_PRINTF(2, 3);
-std::string strformat(std::string &str, const char *format, ...) ATTR_PRINTF(2, 3);
+std::string strformat(const char *format, ...) ATTR_PRINTF(1, 2);
void strdelchr(std::string& str, char chr);
void strreplacechr(std::string& str, char ch, char newch);