summaryrefslogtreecommitdiff
path: root/basic/source/comp/sbcomp.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-13 15:13:32 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-16 07:20:49 +0100
commite48e063254caa7eb26b5c3c50fd64236d59ed553 (patch)
treedf7519af69e3d8c016cf1d0823bc1365afacc6ce /basic/source/comp/sbcomp.cxx
parentb0f3f3094cb3944945dcd59e7fd44f7fe0b433b7 (diff)
o3tl::make_unique -> std::make_unique in basctl...bridges
Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I9a20a58c68d12656359dcaa060d8ab41f621af32 Reviewed-on: https://gerrit.libreoffice.org/66262 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/comp/sbcomp.cxx')
-rw-r--r--basic/source/comp/sbcomp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx
index bd789433be6f..a13b85fdd2ab 100644
--- a/basic/source/comp/sbcomp.cxx
+++ b/basic/source/comp/sbcomp.cxx
@@ -25,7 +25,6 @@
#include <svtools/miscopt.hxx>
#include <rtl/character.hxx>
#include <memory>
-#include <o3tl/make_unique.hxx>
// This routine is defined here, so that the
// compiler can be loaded as a discrete segment.
@@ -42,7 +41,7 @@ bool SbModule::Compile()
SbModule* pOld = GetSbData()->pCompMod;
GetSbData()->pCompMod = this;
- auto pParser = o3tl::make_unique<SbiParser>( pBasic, this );
+ auto pParser = std::make_unique<SbiParser>( pBasic, this );
while( pParser->Parse() ) {}
if( !pParser->GetErrors() )
pParser->aGen.Save();