Skip to content

Instantly share code, notes, and snippets.

@vvavrychuk
Created July 5, 2014 12:40
Show Gist options
  • Save vvavrychuk/b0f0439e022799960541 to your computer and use it in GitHub Desktop.
Save vvavrychuk/b0f0439e022799960541 to your computer and use it in GitHub Desktop.
diff --git a/boost/smart_ptr/shared_ptr.hpp b/boost/smart_ptr/shared_ptr.hpp
index 9259ca0..c75d9f4 100644
--- a/boost/smart_ptr/shared_ptr.hpp
+++ b/boost/smart_ptr/shared_ptr.hpp
@@ -349,7 +349,7 @@ public:
#endif
template<class Y>
- explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete
+ shared_ptr( Y * p ): px( p ), pn() // Y must be complete
{
boost::detail::sp_pointer_construct( this, p, pn );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment