From 590757e2b22b9a014ce37bc4d4902d8447115ed0 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 3 Feb 2002 15:21:41 +0000 Subject: [PATCH] Don't give default arguments to function parameters what subsequent parameters do not have default arguments [SVN r12670] --- include/boost/shared_array.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/shared_array.hpp b/include/boost/shared_array.hpp index 4d400dc..3c8775f 100644 --- a/include/boost/shared_array.hpp +++ b/include/boost/shared_array.hpp @@ -75,7 +75,7 @@ public: this_type(p).swap(*this); } - template void reset(T * p = 0, D d) + template void reset(T * p, D d) { this_type(p, d).swap(*this); }