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