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

Warnings during compilation #42

Closed
martinrotter opened this issue Jul 29, 2020 · 3 comments
Closed

Warnings during compilation #42

martinrotter opened this issue Jul 29, 2020 · 3 comments

Comments

@martinrotter
Copy link

martinrotter commented Jul 29, 2020

boolinq.h:67: Warning: C4100: 'index': unreferenced formal parameter

Here is source code, pls fix. Also, there are some other unreferences local variables/parameters which also produce these warnings.

        void for_each(std::function<void(T)> apply) const
        {
            return for_each_i([apply](T value, int index) { return apply(value); });
        }
@k06a
Copy link
Owner

k06a commented Jul 29, 2020

Thx, will merge your PR

@martinrotter
Copy link
Author

I did not commit any PR, but I see someone else did.

@k06a
Copy link
Owner

k06a commented Jul 29, 2020

Oh, @martinrotter sorry. Just merged it anyway.

@k06a k06a closed this as completed Jul 29, 2020
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

2 participants