mirror of
				https://github.com/boostorg/smart_ptr.git
				synced 2025-11-03 01:01:54 +01:00 
			
		
		
		
	Oops! Fix boo boo from prior fix
[SVN r10206]
This commit is contained in:
		@@ -85,7 +85,6 @@ template<typename T> class scoped_ptr : noncopyable {
 | 
			
		||||
  ~scoped_ptr()                 { checked_delete(ptr); }
 | 
			
		||||
  void reset( T* p=0 )          { if ( ptr != p ) { checked_delete(ptr); ptr = p; } }
 | 
			
		||||
  T& operator*() const          { return *ptr; }  // never throws
 | 
			
		||||
#ifdef BOOST_MSVC
 | 
			
		||||
  T* operator->() const         { return ptr; }  // never throws
 | 
			
		||||
  T* get() const                { return ptr; }  // never throws
 | 
			
		||||
#ifdef BOOST_SMART_PTR_CONVERSION
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user