You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/09/22 00:06:53 UTC

svn commit: r999665 - /subversion/branches/object-model/subversion/bindings/c++/include/Pool.h

Author: hwright
Date: Tue Sep 21 22:06:53 2010
New Revision: 999665

URL: http://svn.apache.org/viewvc?rev=999665&view=rev
Log:
On the object-model branch:

* subversion/bindings/c++/include/Pool.h:
  Make a constructor explicit to avoid it being called as a copy constructor.

Modified:
    subversion/branches/object-model/subversion/bindings/c++/include/Pool.h

Modified: subversion/branches/object-model/subversion/bindings/c++/include/Pool.h
URL: http://svn.apache.org/viewvc/subversion/branches/object-model/subversion/bindings/c%2B%2B/include/Pool.h?rev=999665&r1=999664&r2=999665&view=diff
==============================================================================
--- subversion/branches/object-model/subversion/bindings/c++/include/Pool.h (original)
+++ subversion/branches/object-model/subversion/bindings/c++/include/Pool.h Tue Sep 21 22:06:53 2010
@@ -55,7 +55,9 @@ namespace SVN
 
     public:
       Pool();
-      Pool(Pool &parent);
+
+      // Explicit to avoid being called as an assignment operator.
+      explicit Pool(Pool &parent);
       ~Pool();
 
       void *alloc(apr_size_t sz);