diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-09 14:53:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-18 13:13:41 +0200 |
commit | 516d593ce1593ad47712b762dfa67a8063a18929 (patch) | |
tree | a1c9c22142765ad6ba9278b6fdc316cd6d9f9480 /compilerplugins/clang/useuniqueptr.cxx | |
parent | loplugin:unusedfields in sfx2 (diff) | |
download | core-516d593ce1593ad47712b762dfa67a8063a18929.tar.gz core-516d593ce1593ad47712b762dfa67a8063a18929.zip |
loplugin:useuniqueptr in SvxAutoCorrectLanguageLists
Change-Id: Ie433a336f9cd5133aefbe4ef88d214b5f5c63a0a
Reviewed-on: https://gerrit.libreoffice.org/54182
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/useuniqueptr.cxx')
-rw-r--r-- | compilerplugins/clang/useuniqueptr.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx index 0c82307a9da8..5a2ff10e0508 100644 --- a/compilerplugins/clang/useuniqueptr.cxx +++ b/compilerplugins/clang/useuniqueptr.cxx @@ -53,6 +53,9 @@ public: // to our own buffer if (fn == SRCDIR "/editeng/source/misc/txtrange.cxx") return; + // can't use std::set<std::unique_ptr<>> until C++14 + if (fn == SRCDIR "/editeng/source/misc/svxacorr.cxx") + return; TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } |