Move strprintf define to tinyformat.h

This avoids a dependency on util.h if just tinyformat is needed.
This commit is contained in:
Wladimir J. van der Laan
2014-08-20 10:51:18 +02:00
parent 81212588c0
commit 9b6d4c5cdc
3 changed files with 3 additions and 2 deletions

View File

@@ -108,7 +108,6 @@ bool LogAcceptCategory(const char* category);
/* Send a string to the log output */
int LogPrintStr(const std::string &str);
#define strprintf tfm::format
#define LogPrintf(...) LogPrint(NULL, __VA_ARGS__)
/* When we switch to C++11, this can be switched to variadic templates instead