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

property_tree/detail/file_parser_error.hpp does not #include <sstream> #99

Closed
urnathan opened this issue Jul 12, 2022 · 2 comments
Closed
Assignees

Comments

@urnathan
Copy link

This was discovered when enabling clang implicit modules (and by implication will affect C++20 header-units). property_tree/detail/file_parser_error.hpp uses stringstream without #including , and therefore is not self contained. Fixed thusly:

--- c/1.77.0/src/boost_1_77_0/boost/property_tree/detail/file_parser_error.hpp
+++ w/1.77.0/src/boost_1_77_0/boost/property_tree/detail/file_parser_error.hpp
@@ -12,6 +12,7 @@
 
 #include <boost/property_tree/ptree.hpp>
 #include <string>
+#include <sstream>
 
 namespace boost { namespace property_tree
 {
@madmongo1
Copy link
Contributor

Thank you.

@ashtum
Copy link
Collaborator

ashtum commented Dec 1, 2023

Addressed in #112.

@ashtum ashtum closed this as completed Dec 1, 2023
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

No branches or pull requests

3 participants