X-Git-Url: https://git.auder.net/?p=cgds.git;a=blobdiff_plain;f=src%2FBufferTop.h;h=89a5e1fc1f81e0cfe7760f2c1aba7a7847c99c7f;hp=f399bc2a0e206a51095af9c18ec980450b6141b4;hb=eed1b5d2fca21abae2540b500f4a4ed94a809403;hpb=e45132acdb58c076d5e06849fa51c26de9a7486d diff --git a/src/BufferTop.h b/src/BufferTop.h index f399bc2..89a5e1f 100644 --- a/src/BufferTop.h +++ b/src/BufferTop.h @@ -41,9 +41,7 @@ BufferTop* _buffertop_new( * Usage: BufferTop* buffertop_new( type, UInt capacity, OrderTypebType, UInt arity) */ #define buffertop_new(type, capacity, bType, arity) \ -{ \ - _buffertop_new(sizeof(type), capacity, bType, arity); \ -} + _buffertop_new(sizeof(type), capacity, bType, arity) /** * @brief Copy constructor (shallow copy, ok for basic types). @@ -92,7 +90,7 @@ void _buffertop_tryadd( */ #define buffertop_tryadd(bufferTop, item, value) \ { \ - typeof((item)) tmp = item; \ + typeof(item) tmp = item; \ _buffertop_tryadd(bufferTop, &tmp, value); \ }