Write "operator()" instead of "operator ()", "operator&" instead of "operator &"...
[synfig.git] / ETL / trunk / ETL / _handle.h
index 498c083..3f07503 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -140,6 +141,9 @@ public:
        typedef int size_type;
 
 protected:
+#ifdef _DEBUG
+public:
+#endif
        value_type *obj;                //!< Pointer to object
 
 public:
@@ -358,8 +362,8 @@ public:
        using handle<value_type>::unique;
        using handle<value_type>::operator bool;
        using handle<value_type>::get;
-       using handle<value_type>::operator *;
-       using handle<value_type>::operator ->;
+       using handle<value_type>::operator*;
+       using handle<value_type>::operator->;
 
        /*
        operator const handle<value_type>&()const
@@ -631,6 +635,9 @@ public:
        typedef int size_type;
 
 protected:
+#ifdef _DEBUG
+public:
+#endif
        value_type *obj;                //!< Pointer to object
 
 public: