diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-20 08:18:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-20 07:25:27 +0000 |
commit | 99b5e216f107259d6e402896800282948997c4fa (patch) | |
tree | 11a3a7899ac9cc3fcc2ed446c33c2d552fd69072 /compilerplugins | |
parent | 5c7accf3e1d7bd550611af42d2eea07e590fde2f (diff) |
fix compile error in compilerplugins
home/noel/libo2/compilerplugins/clang/includeform.cxx:33:9: error: no
template named 'optional' in namespace 'std'; did you mean 'Optional'?
std::optional<FileEntryRef> File,
after
commit b5023fa9abea248831271df99df0810351bd8c21
Date: Mon Dec 19 13:16:29 2022 +0100
Adapt to clang::PPCallbacks::InclusionDirective change in Clang 16
trunk
Change-Id: I7acbfeac4fd138a1f6ae89f8b4b8cf918da04e30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144574
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/includeform.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/includeform.cxx b/compilerplugins/clang/includeform.cxx index e640e14b6859..558c9b423345 100644 --- a/compilerplugins/clang/includeform.cxx +++ b/compilerplugins/clang/includeform.cxx @@ -8,6 +8,7 @@ */ #include <memory> +#include <optional> #include "config_clang.h" |