From db8faa64808fbaf1641a192078d3efd8fef77454 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 May 2007 15:32:55 +0000 Subject: change PutBlock to default to non-aligned access git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@336 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- misc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'misc.h') diff --git a/misc.h b/misc.h index f0f7bd2..8dc91f2 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 -- cgit v1.2.1