Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #399 #410

Merged
merged 1 commit into from
Jan 21, 2016
Merged

Fixed #399 #410

merged 1 commit into from
Jan 21, 2016

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