From 0c64df243259f574daaa4bc03bc4ddcc791c9073 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 21 Jan 2019 21:26:50 +0100 Subject: 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 --- idlc/source/astexpression.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'idlc') 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 #include -#include #include #include @@ -921,7 +920,7 @@ std::unique_ptr AstExpression::eval_symbol() pConst = static_cast< AstConstant* >(pDecl); pConst->getConstValue()->evaluate(); auto const val = pConst->getConstValue()->getExprValue(); - return val == nullptr ? nullptr : o3tl::make_unique(*val); + return val == nullptr ? nullptr : std::make_unique(*val); } OString AstExpression::toString() -- cgit