You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2013/03/14 19:46:04 UTC

svn commit: r1456610 - /subversion/trunk/subversion/bindings/javahl/native/Pool.h

Author: philip
Date: Thu Mar 14 18:46:03 2013
New Revision: 1456610

URL: http://svn.apache.org/r1456610
Log:
Making the Pool copy constructor explicit means that accidental
copies like that fixed in r1456394 will not happen.

* subversion/bindings/javahl/native/Pool.h
  (Pool::Pool): Add explicit.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/Pool.h

Modified: subversion/trunk/subversion/bindings/javahl/native/Pool.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/Pool.h?rev=1456610&r1=1456609&r2=1456610&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/Pool.h (original)
+++ subversion/trunk/subversion/bindings/javahl/native/Pool.h Thu Mar 14 18:46:03 2013
@@ -39,7 +39,7 @@ namespace SVN {
   {
   public:
     Pool();
-    Pool(const Pool &parent_pool);
+    explicit Pool(const Pool &parent_pool);
     Pool(apr_pool_t *parent_pool);
     ~Pool();
     apr_pool_t *getPool() const;