Skip to content

Commit

Permalink
Merge pull request #3 from reflection/fix_small_tuple
Browse files Browse the repository at this point in the history
Fix 'format_small_tuple_size' returning pointer at wrong position
  • Loading branch information
ruediger committed Mar 2, 2012
2 parents c552c06 + d340b43 commit 2820ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bert/format.hpp
Expand Up @@ -97,7 +97,7 @@ namespace bert {
Iterator format_small_tuple_size(byte_t len, Iterator i) {
*i = (byte_t)SMALL_TUPLE_EXT;
*++i = len;
return i;
return ++i;
}

namespace detail {
Expand Down

0 comments on commit 2820ec5

Please sign in to comment.