Skip to content

C++17 fix#14

Open
leviathanch wants to merge 1 commit into
limbo018:masterfrom
leviathanch:fixcpp17
Open

C++17 fix#14
leviathanch wants to merge 1 commit into
limbo018:masterfrom
leviathanch:fixcpp17

Conversation

@leviathanch

Copy link
Copy Markdown

C++ 17 and upwards requires std::allocator to be replaced with std::allocator_traits, in order to compile successfully.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This fix may not be backward compatible to versions earlier than C++11. Please add version guard to ensure backward compatibility.

C++ 17 and upwards requires std::allocator to be replaced with
std::allocator_traits, in order to compile successfully.
@leviathanch

Copy link
Copy Markdown
Author

I applied a guard as requested and did a git push -f

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