Ticket #12909: base64.diff
File base64.diff, 1.2 KB (added by , 6 years ago) |
---|
-
boost/archive/iterators/base64_from_binary.hpp
diff --git a/boost/archive/iterators/base64_from_binary.hpp b/boost/archive/iterators/base64_from_binary.hpp index 00c4e10c10..bd0b38fa57 100644
a b template<class CharType> 41 41 struct from_6_bit { 42 42 typedef CharType result_type; 43 43 CharType operator()(CharType t) const{ 44 const char * lookup_table =44 static const char * lookup_table = 45 45 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 46 46 "abcdefghijklmnopqrstuvwxyz" 47 47 "0123456789" -
boost/archive/iterators/binary_from_base64.hpp
diff --git a/boost/archive/iterators/binary_from_base64.hpp b/boost/archive/iterators/binary_from_base64.hpp index 2eb7828251..5aeccb3aab 100644
a b template<class CharType> 37 37 struct to_6_bit { 38 38 typedef CharType result_type; 39 39 CharType operator()(CharType t) const{ 40 const signed char lookup_table[] = {40 static const signed char lookup_table[] = { 41 41 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 42 42 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 43 43 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,