diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-21 21:26:50 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-22 08:38:28 +0100 |
commit | 0c64df243259f574daaa4bc03bc4ddcc791c9073 (patch) | |
tree | 657a489d604ae2f7938369ef1789e746df0a3e69 /idlc/source | |
parent | fd8a724d22c92e3ebef4a3da126baaac3d3bde79 (diff) |
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/source')
-rw-r--r-- | idlc/source/astexpression.cxx | 3 |
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() |