compilerplugins/clang/includeform.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 99b5e216f107259d6e402896800282948997c4fa Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Dec 20 08:18:41 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Dec 20 07:25:27 2022 +0000 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.gran...@collabora.co.uk> 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"