Skip to content

Commit

Permalink
more simplificastion
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed May 20, 2024
1 parent 8c02b4c commit 377ac12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions layer2/CifFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,8 @@ static std::vector<CifArrayElement> parse_bcif_decode(const std::vector<unsigned
std::vector<std::map<std::string, msgpack::object>>& dataEncoding)
{
std::vector<CifArrayElement> result;
for (auto begin = std::rbegin(dataEncoding), end = std::rend(dataEncoding);
begin != end; ++begin) {
auto& dataEncode = *begin;
for (auto it = std::rbegin(dataEncoding); it != std::rend(dataEncoding); ++it) {
auto& dataEncode = *it;
parse_bcif_decode_kind(
dataEncode["kind"].as<std::string>(), rawData, result, dataEncode);
}
Expand Down

0 comments on commit 377ac12

Please sign in to comment.