Skip to content

Conversation

@cdglove
Copy link

@cdglove cdglove commented Feb 21, 2016

Allows property_tree to be used in environments without exceptions.

…erty can be used in environments without exceptions.
// parameter "e" in the catch handler. Declaring a local variable
// here does not hurt and will be "used" to make the code in the
// handler compilable although the code will never be executed.
info_parser_error e("", "", 0); ignore_unused(e);
Copy link
Author

Choose a reason for hiding this comment

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

I actually don't like this hack because it could generate code. I'm going to email the mailing list to come up with an alternative.

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