mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 13:17:23 +02:00
Don't give default arguments to function parameters what subsequent parameters do not have default arguments
[SVN r12670]
This commit is contained in:
@ -75,7 +75,7 @@ public:
|
|||||||
this_type(p).swap(*this);
|
this_type(p).swap(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename D> void reset(T * p = 0, D d)
|
template <typename D> void reset(T * p, D d)
|
||||||
{
|
{
|
||||||
this_type(p, d).swap(*this);
|
this_type(p, d).swap(*this);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user