diff options
Diffstat (limited to 'l10ntools/source/xrmmerge.cxx')
-rw-r--r-- | l10ntools/source/xrmmerge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index b47c7c38dcdd..a0f5b7dbc245 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -33,7 +33,7 @@ #include <iostream> #include <fstream> #include <vector> -#include <boost/scoped_array.hpp> +#include <memory> using namespace std; @@ -326,7 +326,7 @@ void XRMResExport::WorkOnDesc( ifstream file (sDescFileName.getStr(), ios::in|ios::binary|ios::ate); if (file.is_open()) { int size = static_cast<int>(file.tellg()); - boost::scoped_array<char> memblock(new char [size+1]); + std::unique_ptr<char[]> memblock(new char [size+1]); file.seekg (0, ios::beg); file.read (memblock.get(), size); file.close(); |