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

if condition for win32 unary function fix #36

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

cebarboza
Copy link
Collaborator

Added condition for unary function if WIN32

#ifdef _WIN32
struct AndJibu : public std::unary_function<int, void>
#else
struct AndJibu : public std::__unary_function<int, void>
#endif

@cebarboza
Copy link
Collaborator Author

Changes the condition to APPLE and it seems to pass the checks for tests, macos, win, linux and linux old like that.

#ifdef __APPLE__
struct AndJibu : public std::__unary_function<int, void>
#else
struct AndJibu : public std::unary_function<int, void>
#endif

@AniekMarkus AniekMarkus merged commit 8854a7d into develop Oct 18, 2024
6 checks passed
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