Ticket #18445: warnings.patch

File warnings.patch, 693 bytes (added by mail@…, 16 years ago)
Line 
1*** a/src/main/include/log4cxx/helpers/objectptr.h      2008-10-06 16:31:12.977510299 -0700
2--- b/src/main/include/log4cxx/helpers/objectptr.h      2008-10-06 16:30:57.675742916 -0700
3***************
4*** 28,36 ****
5  //   switching between the initialization styles.
6  //
7  #if LOG4CXX_HELGRIND
8! #define _LOG4CXX_OBJECTPTR_INIT(x) { exchange(x);
9  #else
10! #define _LOG4CXX_OBJECTPTR_INIT(x) : p(x) {
11  #endif
12 
13  namespace log4cxx
14--- 28,36 ----
15  //   switching between the initialization styles.
16  //
17  #if LOG4CXX_HELGRIND
18! #define _LOG4CXX_OBJECTPTR_INIT(x) : ObjectPtrBase() { exchange(x);
19  #else
20! #define _LOG4CXX_OBJECTPTR_INIT(x) : ObjectPtrBase(), p(x) {
21  #endif
22 
23  namespace log4cxx