summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-boost-1.69
blob: 2347c3c5430fb04dcff691b48307474ef96a9c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
After https://github.com/boostorg/logic/commit/23cd89d4c80f build fails:

sfx2/source/appl/shutdownicon.cxx:170:12: error: no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool'
    return loaded;
           ^~~~~~

--- sfx2/source/appl/shutdownicon.cxx.orig	2019-02-05 07:22:07.809681000 +0800
+++ sfx2/source/appl/shutdownicon.cxx	2019-02-05 07:21:48.200022000 +0800
@@ -143,7 +143,7 @@ bool LoadModule()
 #endif // ENABLE_QUICKSTART_APPLET
     }
     assert(!boost::logic::indeterminate(loaded));
-    return loaded;
+    return bool{loaded};
 }
 
 }