diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-06 15:25:01 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-06 15:29:16 +0200 |
| commit | 783b182c8fa92674fa609b584c0b187469893ca4 (patch) | |
| tree | a350421cd300a76f3004547793d0a74faadd9c32 /src/util.h | |
| parent | qt: periodic translations update (diff) | |
| download | discoin-783b182c8fa92674fa609b584c0b187469893ca4.tar.xz discoin-783b182c8fa92674fa609b584c0b187469893ca4.zip | |
Remove dummy PRIszX macros for formatting
Size specifiers are no longer needed now that we use typesafe tinyformat
for string formatting, instead of the system's sprintf.
No functional changes.
This continues the work in #3735.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.h b/src/util.h index fbd841f7a..55d9308ab 100644 --- a/src/util.h +++ b/src/util.h @@ -44,18 +44,6 @@ static const int64_t CENT = 1000000; #define UEND(a) ((unsigned char*)&((&(a))[1])) #define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0])) -/* Format characters for (s)size_t, ptrdiff_t. - * - * Define these as empty as the tinyformat-based formatting system is - * type-safe, no special format characters are needed to specify sizes. - */ -#define PRIszx "x" -#define PRIszu "u" -#define PRIszd "d" -#define PRIpdx "x" -#define PRIpdu "u" -#define PRIpdd "d" - // This is needed because the foreach macro can't get over the comma in pair<t1, t2> #define PAIRTYPE(t1, t2) std::pair<t1, t2> |