Skip to content

Commit

Permalink
C++03 support (eliminate 'auto')
Browse files Browse the repository at this point in the history
  • Loading branch information
speleo3 committed Jul 10, 2018
1 parent 1f7a250 commit b4c5d27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/mmtf/encoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ inline void encodeToStream(const StructureData& data, Stream& stream,
int32_t coord_divider, int32_t occupancy_b_factor_divider,
int32_t chain_name_max_length) {
msgpack::zone _zone;
auto data_map = encodeToMap(data, _zone, coord_divider,
occupancy_b_factor_divider, chain_name_max_length);
msgpack::pack(stream, data_map);
msgpack::pack(stream, encodeToMap(data, _zone, coord_divider,
occupancy_b_factor_divider, chain_name_max_length));
}

inline std::map<std::string, msgpack::object>
Expand Down

0 comments on commit b4c5d27

Please sign in to comment.