Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cesaref committed Oct 11, 2024
1 parent 6b717f5 commit 387970d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions containers/choc_Value.h
Original file line number Diff line number Diff line change
Expand Up @@ -2964,9 +2964,6 @@ inline Value Value::deserialise (InputData& input)
auto stringDataSize = Type::SerialisationHelpers::readVariableLengthInt (input);
Type::SerialisationHelpers::expect (stringDataSize <= static_cast<uint32_t> (input.end - input.start));
v.dictionary.setRawData (input.start, stringDataSize);
// v.dictionary.strings.resize (stringDataSize);
// std::memcpy (v.dictionary.strings.data(), input.start, stringDataSize);
// Type::SerialisationHelpers::expect (v.dictionary.strings.back() == 0);
}

return v;
Expand Down Expand Up @@ -3273,7 +3270,7 @@ inline std::pair<std::vector<uint32_t>::const_iterator, bool> SimpleStringDictio
{
bool exactMatch = false;

auto it = std::lower_bound(stringMap.begin(), stringMap.end(), v, [&] (uint32_t i, std::string_view sv) -> bool
auto it = std::lower_bound (stringMap.begin(), stringMap.end(), v, [&] (uint32_t i, std::string_view sv) -> bool
{
auto c = sv.compare (getStringForHandle ( { i }));

Expand Down

0 comments on commit 387970d

Please sign in to comment.