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

Fix exceptions so they can be caught by const reference #102

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

cbeiraod
Copy link
Contributor

I am not sure if I am making the pull request to the right branch or if I have missed something, but the methods of the exception class on the main branch do not allow the exceptions to be caught by const reference as is normally recommended to do.

Modifying the methods to be const fixes the issue.

@zauguin zauguin merged commit 1c92215 into SqliteModernCpp:master Mar 28, 2017
@zauguin
Copy link
Collaborator

zauguin commented Mar 28, 2017

Thanks

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