Skip to content

Conversation

@redboltz
Copy link
Contributor

Removed the pointer version of object::convert().
Updated tests and documents.

Migration note:

Replace
int i;
obj.convert(&i); // Removed pointer version
with
int i;
obj.convert(i); // Reference version

If MSGPACK_DISABLE_LEGACY_CONVERT is defined, msgpack::object::convert(T*) is removed.
Added MSGPACK_DISABLE_LEGACY_CONVERT to build system and documents.

Please define MSGPACK_DISABLE_LEGACY_CONVERT and update your code as follows:
Replace
  int i;
  obj.convert(&i); // Removed pointer version
with
  int i;
  obj.convert(i);  // Reference version
redboltz added a commit that referenced this pull request Jan 21, 2016
@redboltz redboltz merged commit 7d1be40 into msgpack:master Jan 21, 2016
@redboltz redboltz deleted the fix_399 branch January 21, 2016 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant