Skip to content

Fix unused parameter warning in detail/signal_template.hpp#81

Merged
fmhess merged 1 commit into
boostorg:developfrom
Romain-Geissler-1A:fix-unused-parameter-warning
Jun 27, 2025
Merged

Fix unused parameter warning in detail/signal_template.hpp#81
fmhess merged 1 commit into
boostorg:developfrom
Romain-Geissler-1A:fix-unused-parameter-warning

Conversation

@Romain-Geissler-1A

Copy link
Copy Markdown
Contributor

Clang 20 with -Wall -Wextra -Werror and Boost 1.88 raises this warning/error:

/data/mwrep/res/osp/Boost/25-0-0-0/include/boost/signals2/detail/signal_template.hpp:778:75: error: unused parameter 'other' [-Werror,-Wunused-parameter]
  778 |         const BOOST_SIGNALS2_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS) & other) BOOST_NOEXCEPT
      |                                                                           ^
1 error generated.

Clang 20 with -Wall -Wextra -Werror and Boost 1.88 raises this
warning/error:
/data/mwrep/res/osp/Boost/25-0-0-0/include/boost/signals2/detail/signal_template.hpp:778:75: error: unused parameter 'other' [-Werror,-Wunused-parameter]
  778 |         const BOOST_SIGNALS2_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS) & other) BOOST_NOEXCEPT
      |                                                                           ^
1 error generated.
@fmhess fmhess merged commit a4b4f64 into boostorg:develop Jun 27, 2025
45 of 60 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