mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-04 19:24:20 +00:00
Move strprintf define to tinyformat.h
This avoids a dependency on util.h if just tinyformat is needed.
This commit is contained in:
parent
81212588c0
commit
9b6d4c5cdc
@ -5,7 +5,7 @@
|
||||
|
||||
#include "core.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "tinyformat.h"
|
||||
|
||||
std::string COutPoint::ToString() const
|
||||
{
|
||||
|
@ -1007,4 +1007,6 @@ TINYFORMAT_WRAP_FORMAT_N(16, returnType, funcName, funcDeclSuffix, bodyPrefix, s
|
||||
|
||||
} // namespace tinyformat
|
||||
|
||||
#define strprintf tfm::format
|
||||
|
||||
#endif // TINYFORMAT_H_INCLUDED
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user