X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Futil.h;h=3d7ef108b478ee250c09447889b6b6b32b1508be;hb=82dc6426b4cbf769ace7976c2a40d160b8d76f08;hp=1e4ceb2468717106e64957a4e33a9b9de7cefb45;hpb=e49b83bb1242b37717e5cfabc344b0ff7157484e;p=novacoin.git diff --git a/src/util.h b/src/util.h index 1e4ceb2..3d7ef10 100644 --- a/src/util.h +++ b/src/util.h @@ -67,14 +67,6 @@ typedef unsigned long long uint64; // This is needed because the foreach macro can't get over the comma in pair #define PAIRTYPE(t1, t2) pair -// Used to bypass the rule against non-const reference to temporary -// where it makes sense with wrappers such as CFlatData or CTxDB -template -inline T& REF(const T& val) -{ - return (T&)val; -} - // Align by increasing pointer, must have extra space at end of buffer template T* alignup(T* p)