summaryrefslogtreecommitdiffstats
path: root/idlc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-21 21:26:50 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-22 08:38:28 +0100
commit0c64df243259f574daaa4bc03bc4ddcc791c9073 (patch)
tree657a489d604ae2f7938369ef1789e746df0a3e69 /idlc
parenttdf#45904 Move XDrawPages Java tests to C++ (diff)
downloadcore-0c64df243259f574daaa4bc03bc4ddcc791c9073.tar.gz
core-0c64df243259f574daaa4bc03bc4ddcc791c9073.zip
o3tl::make_unique -> std::make_unique in i18npool...reportdesign
Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I8bee1344f7df82536f31bc5e4ec4fd379cac1d04 Reviewed-on: https://gerrit.libreoffice.org/66704 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astexpression.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index f9f91a719435..486c74977864 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -23,7 +23,6 @@
#include <astscope.hxx>
#include <errorhandler.hxx>
-#include <o3tl/make_unique.hxx>
#include <osl/diagnose.h>
#include <limits.h>
@@ -921,7 +920,7 @@ std::unique_ptr<AstExprValue> AstExpression::eval_symbol()
pConst = static_cast< AstConstant* >(pDecl);
pConst->getConstValue()->evaluate();
auto const val = pConst->getConstValue()->getExprValue();
- return val == nullptr ? nullptr : o3tl::make_unique<AstExprValue>(*val);
+ return val == nullptr ? nullptr : std::make_unique<AstExprValue>(*val);
}
OString AstExpression::toString()