diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-08-20 10:51:18 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-08-20 10:51:18 +0200 |
| commit | 9b6d4c5cdc1ad7b12b8b7ba05125dad9ba2d396e (patch) | |
| tree | b01df59917737742391c04a1cd6425b361afd4c1 /src/tinyformat.h | |
| parent | Remove print() from core functions (diff) | |
| download | discoin-9b6d4c5cdc1ad7b12b8b7ba05125dad9ba2d396e.tar.xz discoin-9b6d4c5cdc1ad7b12b8b7ba05125dad9ba2d396e.zip | |
Move strprintf define to tinyformat.h
This avoids a dependency on util.h if just tinyformat is needed.
Diffstat (limited to 'src/tinyformat.h')
| -rw-r--r-- | src/tinyformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tinyformat.h b/src/tinyformat.h index b6113029f..929cb66e4 100644 --- a/src/tinyformat.h +++ b/src/tinyformat.h @@ -1007,4 +1007,6 @@ TINYFORMAT_WRAP_FORMAT_N(16, returnType, funcName, funcDeclSuffix, bodyPrefix, s } // namespace tinyformat +#define strprintf tfm::format + #endif // TINYFORMAT_H_INCLUDED |