aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cutl/shared-ptr.hxx2
1 files changed, 1 insertions, 1 deletions
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_);