Kaydet (Commit) 67009cf2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

l10ntools: std::auto_ptr -> std::unique_ptr

Change-Id: I595506b8c6d127abaa8d86bd0ed263edba210bb5
üst 3b094090
...@@ -81,7 +81,7 @@ bool HelpParser::CreatePO( ...@@ -81,7 +81,7 @@ bool HelpParser::CreatePO(
SimpleXMLParser aParser; SimpleXMLParser aParser;
//TODO: explicit BOM handling? //TODO: explicit BOM handling?
std::auto_ptr <XMLFile> file ( aParser.Execute( sHelpFile, pXmlFile ) ); std::unique_ptr <XMLFile> file ( aParser.Execute( sHelpFile, pXmlFile ) );
if(file.get() == NULL) if(file.get() == NULL)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment