--- rxvt-unicode/src/rxvtutil.h 2008/07/21 16:51:31 1.37 +++ rxvt-unicode/src/rxvtutil.h 2008/11/05 14:43:54 1.38 @@ -113,7 +113,8 @@ #define MOD(m,n) (((m) + (n)) % (n)) // makes dynamically allocated objects zero-initialised -struct zero_initialized { +struct zero_initialized +{ void *operator new (size_t s); void operator delete (void *p, size_t s); }; @@ -124,7 +125,8 @@ * Copyright (C) 1997-98 Kay Roemer & Arno Puder */ template -struct simplevec { +struct simplevec +{ typedef T* iterator; typedef const T* const_iterator; typedef unsigned long size_type; @@ -389,7 +391,8 @@ #if 0 template -struct rxvt_vec : simplevec { +struct rxvt_vec : simplevec +{ typedef T *iterator; void push_back (T d) { simplevec::push_back ((void *)d); } @@ -404,7 +407,8 @@ #endif template -struct auto_ptr { +struct auto_ptr +{ T *p; auto_ptr () : p (0) { }