aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-01 11:52:07 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-01 11:52:07 -0400
commitdd7868364d9a14349ff82f74fc451db5e6b6b7b9 (patch)
treeed4142635ca823364fd272a010200380b8776412 /src/util.h
parentf662cefd8552f07548dcca9dcf84a952650fab6f (diff)
parente4dde849ae5544383703ef2d73592677e6c528ad (diff)
downloadbitcoin-dd7868364d9a14349ff82f74fc451db5e6b6b7b9.tar.xz
Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoin
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util.h b/src/util.h
index 1e4ceb2468..3d7ef108b4 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<t1, t2>
#define PAIRTYPE(t1, t2) pair<t1, t2>
-// Used to bypass the rule against non-const reference to temporary
-// where it makes sense with wrappers such as CFlatData or CTxDB
-template<typename T>
-inline T& REF(const T& val)
-{
- return (T&)val;
-}
-
// Align by increasing pointer, must have extra space at end of buffer
template <size_t nBytes, typename T>
T* alignup(T* p)