Skip to content

fix: lambda capture 'this' is not used#510

Merged
Becheler merged 1 commit into
boostorg:developfrom
Becheler:fix/howard-unused-lambda-capture
Jun 23, 2026
Merged

fix: lambda capture 'this' is not used#510
Becheler merged 1 commit into
boostorg:developfrom
Becheler:fix/howard-unused-lambda-capture

Conversation

@Becheler

@Becheler Becheler commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Refs #496

Before submitting

  • This PR targets the develop branch.
  • I searched for an existing PR or issue covering the same change.
  • My contribution is licensed under the Boost Software License 1.0.

Type of change

  • Bug fix
  • New feature or API addition
  • Refactor (no behavior change)
  • Documentation
  • Build, CI, or tooling
  • Other (specify below)

Does this PR introduce a breaking change?

  • Yes (describe migration impact below)
  • No

What this PR does

Reduce warning for "this" captured but not used.

Motivation

Testing

Checklist

  • Existing tests pass (b2 in the test/ directory).
  • New behavior is covered by a test, or this is a docs / build / refactor change.
  • Documentation was updated if user-facing behavior changed.
  • No new compiler warnings on the platforms I built against.

@Becheler Becheler requested a review from jeremy-murphy as a code owner June 22, 2026 09:03
@Becheler Becheler self-assigned this Jun 22, 2026
@github-actions

Copy link
Copy Markdown

Compiler-warning counts vs develop (auto-generated).
PR run 27941646918 vs develop run 27866501982 (476e3791a2).

Job Baseline After Delta
macos (clang, 14) 46 35 -11
macos (clang, 17) 41 30 -11
macos (clang, 20) 41 30 -11
ubuntu (clang-19, 14) 46 35 -11
ubuntu (clang-19, 17) 46 35 -11
ubuntu (clang-19, 20) 46 35 -11
ubuntu (clang-19, 23) 46 35 -11
ubuntu (gcc-14, 14) 28 28 0
ubuntu (gcc-14, 17) 28 28 0
ubuntu (gcc-14, 20) 28 28 0
ubuntu (gcc-14, 23) 28 28 0
windows_msvc_14_3 (msvc-14.3) 974 974 0

@Becheler Becheler merged commit fa19c3b into boostorg:develop Jun 23, 2026
27 checks passed
@Becheler Becheler deleted the fix/howard-unused-lambda-capture branch June 24, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant