From 31e06b9d0bea5629105a26679b7c672a8f4f13a9 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 May 2007 15:32:55 +0000 Subject: [PATCH] change PutBlock to default to non-aligned access --- misc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc.h b/misc.h index f0f7bd20..8dc91f2f 100644 --- a/misc.h +++ b/misc.h @@ -980,7 +980,7 @@ private: const byte *m_block; }; -template +template class PutBlock { public: @@ -1002,12 +1002,12 @@ private: byte *m_block; }; -template +template struct BlockGetAndPut { // function needed because of C++ grammatical ambiguity between expression-statements and declarations - static inline GetBlock Get(const void *block) {return GetBlock(block);} - typedef PutBlock Put; + static inline GetBlock Get(const void *block) {return GetBlock(block);} + typedef PutBlock Put; }; template