summaryrefslogtreecommitdiff
path: root/user/libreoffice/boost.patch
blob: cd8ef9dbabf8c98b76b1816877005e5137deaa1c (plain) (blame)
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;
           ^~~~~~

--- lo/sfx2/source/appl/shutdownicon.cxx.orig	2018-06-19 22:27:30 UTC
+++ lo/sfx2/source/appl/shutdownicon.cxx
@@ -167,7 +167,7 @@ bool LoadModule()
 #endif // ENABLE_QUICKSTART_APPLET
     }
     assert(!boost::logic::indeterminate(loaded));
-    return loaded;
+    return bool{loaded};
 }
 
 }