aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-06 15:25:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-06 15:29:16 +0200
commit783b182c8fa92674fa609b584c0b187469893ca4 (patch)
treea350421cd300a76f3004547793d0a74faadd9c32 /src/util.h
parentb733288d95842d13a6559477bc9e8b5a93457ef0 (diff)
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.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.h b/src/util.h
index fbd841f7a8..55d9308ab6 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>