Change our auto_ptr's to unique_ptr's.
auto_ptr is deprecated in c++11.
This commit is contained in:
@@ -257,7 +257,7 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
|
||||
|
||||
// Save recent scores
|
||||
{
|
||||
auto_ptr<XNode> xml( new XNode("Stats") );
|
||||
unique_ptr<XNode> xml( new XNode("Stats") );
|
||||
xml->AppendChild( "MachineGuid", PROFILEMAN->GetMachineProfile()->m_sGuid );
|
||||
|
||||
XNode *recent = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user