comphelper/source/property/ChainablePropertySet.cxx |    1 +
 comphelper/source/property/MasterPropertySet.cxx    |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 197a28ae5038d7faed9b075877b2377c981bc97a
Author:     Rene Engelhard <r...@rene-engelhard.de>
AuthorDate: Wed Jun 1 19:23:00 2022 +0200
Commit:     René Engelhard <r...@debian.org>
CommitDate: Wed Jun 1 22:30:12 2022 +0200

    fix build
    
    add #include <optional>, since:
    [build CXX] comphelper/source/property/ChainablePropertySetInfo.cxx
    
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx:
 In member function 'virtual void 
comphelper::ChainablePropertySet::setPropertyValue(const rtl::OUString&, const 
com::sun::star::uno::Any&)':
    
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx:54:10:
 error: 'optional' is not a member of 'std'
       54 |     std::optional< osl::Guard< comphelper::SolarMutex > > 
xMutexGuard;
          |          ^~~~~~~~
    
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx:23:1:
 note: 'std::optional' is defined in header '<optional>'; did you forget to 
'#include <optional>'?
       22 | #include <comphelper/solarmutex.hxx>
      +++ |+#include <optional>
       23 |
    
    happens since 49b9401465730b1151917bffcbc0ad1f0622fcee
    
    Change-Id: I643e7811f1ec7588ccde5453303cd57675c6165e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135252
    Tested-by: Jenkins
    Tested-by: René Engelhard <r...@debian.org>
    Reviewed-by: René Engelhard <r...@debian.org>

diff --git a/comphelper/source/property/ChainablePropertySet.cxx 
b/comphelper/source/property/ChainablePropertySet.cxx
index 7c9caa17582a..0805afe72bcf 100644
--- a/comphelper/source/property/ChainablePropertySet.cxx
+++ b/comphelper/source/property/ChainablePropertySet.cxx
@@ -23,6 +23,7 @@
 
 
 #include <memory>
+#include <optional>
 
 using namespace ::comphelper;
 using namespace ::com::sun::star;
diff --git a/comphelper/source/property/MasterPropertySet.cxx 
b/comphelper/source/property/MasterPropertySet.cxx
index 51fdd4deb620..922a4c1c69b4 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -27,6 +27,7 @@
 
 #include <memory>
 #include <vector>
+#include <optional>
 
 namespace {
 

Reply via email to