diff options
Diffstat (limited to 'ACE/ACEXML/examples/SAXPrint/main.cpp')
-rw-r--r-- | ACE/ACEXML/examples/SAXPrint/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/ACEXML/examples/SAXPrint/main.cpp b/ACE/ACEXML/examples/SAXPrint/main.cpp index ea61c506050..6a5cdee2504 100644 --- a/ACE/ACEXML/examples/SAXPrint/main.cpp +++ b/ACE/ACEXML/examples/SAXPrint/main.cpp @@ -144,7 +144,8 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_NEW_RETURN (handler, ACEXML_SAXPrint_Handler (name), -1); - auto_ptr<ACEXML_DefaultHandler> cleanup_handler (handler); + + std::unique_ptr<ACEXML_DefaultHandler> cleanup_handler (handler); ACEXML_Parser parser; ACEXML_InputSource input (stm); |