X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Futil.h;fp=src%2Futil.h;h=fabcaf93035affeeaf0d660698c8f2cba478f8ea;hb=7a15d4ff67c9a6e3b6b5a63f82f76ffe1937c3b8;hp=7fd224cbe7cd3435bc701e6e06eff34b648e87be;hpb=f43f46c175d7e6d7426536f8efcad05d2eafba80;p=novacoin.git diff --git a/src/util.h b/src/util.h index 7fd224c..fabcaf9 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) std::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)