[Libreoffice-commits] core.git: bridges/inc

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 14 06:34:09 UTC 2020


 bridges/inc/msvc/except.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e00a5757e47cf783d7948ad850cb6fa76b98d73a
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Oct 13 17:08:00 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Oct 14 08:33:21 2020 +0200

    -Werror,-Wmicrosoft-exception-spec (clang-cl)
    
    > C:/lo/core/bridges/source/cpp_uno/msvc_shared/except.cxx(124,11): error: exception specification in declaration does not match previous declaration [-Werror,-Wmicrosoft-exception-spec]
    > RTTInfos::RTTInfos() throw() {}
    >           ^
    > C:/lo/core/bridges/inc\msvc/except.hxx(93,5): note: previous declaration is here
    >     RTTInfos();
    >     ^
    
    Change-Id: I7fa9d85de70d1398f89443b202b9b60c36dcc46a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104243
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/bridges/inc/msvc/except.hxx b/bridges/inc/msvc/except.hxx
index 91a6441006a3..aba0ce46248e 100644
--- a/bridges/inc/msvc/except.hxx
+++ b/bridges/inc/msvc/except.hxx
@@ -90,7 +90,7 @@ class RTTInfos final
     osl::Mutex m_aMutex;
     t_string2PtrMap m_allRTTI;
 
-    RTTInfos();
+    RTTInfos() throw();
     ExceptionTypeInfoWrapper* getInfo(OUString const& rUNOname) throw();
 
 public:


More information about the Libreoffice-commits mailing list