Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2015, 6:03:26 PM (9 years ago)
Author:
landauf
Message:

using std::unique_ptr instead of std::auto_ptr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/external/tinyxml/ticpp.cpp

    r8351 r10773  
    717717}
    718718
    719 std::auto_ptr< Node > Node::Clone() const
     719std::unique_ptr< Node > Node::Clone() const
    720720{
    721721        TiXmlNode* node = GetTiXmlPointer()->Clone();
     
    724724                TICPPTHROW( "Node could not be cloned" );
    725725        }
    726         std::auto_ptr< Node > temp( NodeFactory( node, false, false ) );
     726        std::unique_ptr< Node > temp( NodeFactory( node, false, false ) );
    727727
    728728        // Take ownership of the memory from TiXml
Note: See TracChangeset for help on using the changeset viewer.