Commit ab25de05 authored by jprochazk's avatar jprochazk

fix: return -> result.push_back

parent a3a9d566
......@@ -2278,7 +2278,7 @@ class binary_reader
success = false;
break;
}
return std::char_traits<char_type>::to_char_type(current);
result.push_back(std::char_traits<char_type>::to_char_type(current));
};
return success;
}
......@@ -2310,7 +2310,7 @@ class binary_reader
success = false;
break;
}
return static_cast<std::uint8_t>(current);
result.push_back(static_cast<std::uint8_t>(current));
}
return success;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment