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

Use std::apply and tuples to avoid deprecated std::bind #132

Closed
wants to merge 1 commit into from

Conversation

Headline
Copy link
Member

Fixes #131

Untested and this now breaks CI - how shall we proceed? Are we c++17 or not?

amtl/AMBuildScript

Lines 17 to 20 in 2d3b1a3

if cxx.version >= 'gcc-8.0' or cxx.version >= 'clang-5.0':
cxx.cxxflags += ['-std=c++17']
else:
cxx.cxxflags += ['-std=c++14']

@Headline
Copy link
Member Author

Nevermind, sourcemod chose c++17 so sourcemod can live with -Wno-deprecated-declarations

@Headline Headline closed this Jan 31, 2025
@Headline Headline deleted the fix-std-bind branch January 31, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant