From 90377830e06d58a2dbe116ec002741181c9a1915 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 31 Aug 2010 15:03:44 +0200 Subject: Add default argument to shared_ptr::reset --- cutl/shared-ptr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cutl/shared-ptr.hxx') diff --git a/cutl/shared-ptr.hxx b/cutl/shared-ptr.hxx index 702af29..837ba4e 100644 --- a/cutl/shared-ptr.hxx +++ b/cutl/shared-ptr.hxx @@ -119,7 +119,7 @@ namespace cutl } void - reset (X* x) + reset (X* x = 0) { if (x_ != 0) base::dec (x_); -- cgit v1.1