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

--- sfx2/source/appl/shutdownicon.cxx.orig	2018-06-19 22:27:30 UTC
+++ 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};
 }
 
 }