Skip to content

Commit aff38b5

Browse files
committed
Windoms demangle bug fix
1 parent a8774e9 commit aff38b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/leaf/detail/demangle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ namespace n
199199
if( int const p = sizeof(char[1 + !!s01 * (p01 + p02 + p03 + p04 + p05 + p06 + p07 + p08 + p09 + p10 + p11 + p12)]) - 1 )
200200
return { BOOST_LEAF_PRETTY_FUNCTION + p, s01 - p };
201201

202-
if( int const p = sizeof(char[1 + !!p13 + (!!p14 + !!p15 + !!p16 + !!p17 + !!p18 + !!p19 + !!p20 + !!p21)]) - 1 )
202+
if( int const p = sizeof(char[1 + !!s02 * (p13 + p14 + p15 + p16 + p17 + p18 + p19 + p20 + p21)]) - 1 )
203203
return { BOOST_LEAF_PRETTY_FUNCTION + p, s02 - p };
204204

205205
int const p = sizeof(char[1 + !!s02 * (p22 + p23 + p24)]) - 1; // p is not zero, we've static asserted the hell out of it

0 commit comments

Comments
 (0)