-
Notifications
You must be signed in to change notification settings - Fork 240
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
const_iterator and const_row_iterator errors in v7.7.2 #551
Comments
The main thing that's changed is how libpqxx includes its own headers internally. It could be that your code accidentally fell victim to that. Perhaps your code does an Could you show us the libpqxx includes at the top of your relevant source file? |
And some completely unrelated notes on how to make the code "nicer":
|
The .cpp file and the header file have those include #include <stdexcept>
#include <iostream>
#include <typeinfo>
#include <string>
#include <pqxx/pqxx> |
Thanks for the tips 😃. This file is relative old and will be refactored at some point. |
Looks like |
Thanks @jtv, using the |
I'm on pqxx v7.7.0 right now and I haven't used for some time. Did anything change regarding iterators in v7.7.2? For example, this works in v7.7.0
But fails in v7.7.2 with:
I use:
The text was updated successfully, but these errors were encountered: