summaryrefslogtreecommitdiffstats
path: root/testing/mkvtoolnix/boost-1.58.patch
blob: b42c04a7246ec7f5a201e8cca80bbebfc3556aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.cpp.orig
+++ ./lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.cpp
@@ -171,14 +171,13 @@
 // How many char objects can I process to get <= max_limit
 // wchar_t objects?
 int utf8_codecvt_facet::do_length(
-    BOOST_CODECVT_DO_LENGTH_CONST std::mbstate_t &,
+    const std::mbstate_t &,
     const char * from,
     const char * from_end, 
     std::size_t max_limit
+) const 
 #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
-) const throw()
-#else
-) const
+        throw()
 #endif
 { 
     // RG - this code is confusing!  I need a better way to express it.