Skip to content

Fixed C++17 compatibility issues#1370

Open
Andrew1040 wants to merge 1 commit into
MTG:masterfrom
Andrew1040:fix/cplusplus17_compatibility
Open

Fixed C++17 compatibility issues#1370
Andrew1040 wants to merge 1 commit into
MTG:masterfrom
Andrew1040:fix/cplusplus17_compatibility

Conversation

@Andrew1040
Copy link
Copy Markdown

The builds configured with the --std=c++17 option were failing because std::bind1st() and std::bind2nd() template methods were marked as deprecated in C++11 and finally removed starting from C++17.

Provided patch uses __cpluplus macro to determine used C++ standard and adjust the code accordingly.

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