diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 09:21:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 11:00:51 +0100 |
commit | eaf2c278888ebca0ac99055ee34df6f011da3596 (patch) | |
tree | 3177ca36a5eeac09b791ded9fc55d2d82e52c9cd /l10ntools | |
parent | 498cb0b3a372ce1ec0e66640eb0badddff3f2e90 (diff) |
boost->std
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/cfgmerge.cxx | 4 | ||||
-rw-r--r-- | l10ntools/source/export.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index de7ccea88419..b8724caeb8f9 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -26,7 +26,7 @@ #include <cstdlib> #include <cstring> -#include "boost/scoped_ptr.hpp" +#include <memory> #include "rtl/strbuf.hxx" #include "helper.hxx" @@ -41,7 +41,7 @@ namespace { namespace global { OString inputPathname; -boost::scoped_ptr< CfgParser > parser; +std::unique_ptr< CfgParser > parser; } } diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index a56e1a978890..593801d0973f 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -25,13 +25,13 @@ #include "helper.hxx" #include "srclex.hxx" -#include "boost/scoped_ptr.hpp" #include <cstdio> #include <cstdlib> #include "common.hxx" #include "export.hxx" #include "tokens.h" #include <iostream> +#include <memory> #include <rtl/strbuf.hxx> void yyerror( const char * ); @@ -44,7 +44,7 @@ MergeDataFile * pMergeDataFile = 0; //TODO namespace global { OString inputPathname; -boost::scoped_ptr< Export > exporter; +std::unique_ptr< Export > exporter; } |