Skip to content

Add PICOJSON_NO_EXCEPTIONS define to optionally remove throw-catch - #99

Open
crashmatt wants to merge 5 commits into
kazuho:masterfrom
crashmatt:no_except
Open

Add PICOJSON_NO_EXCEPTIONS define to optionally remove throw-catch#99
crashmatt wants to merge 5 commits into
kazuho:masterfrom
crashmatt:no_except

Conversation

@crashmatt

Copy link
Copy Markdown

For compatibility with builds for resource restricted systems which don't support exceptions

@crashmatt

Copy link
Copy Markdown
Author

Typo fix also included other changes that I didn't intent to make. Closing this until I get the PR fixed.

@crashmatt crashmatt closed this Apr 19, 2017
@crashmatt crashmatt reopened this Apr 19, 2017
Comment thread picojson.h
value(value &&x) throw();
value &operator=(value &&x) throw();
#else
value(value &&x) value &operator=(value &&x)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be fixed to:

  value(value &&x);
  value &operator=(value &&x);

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.

2 participants