Skip to content

Fix: undefined buffer_snapshot move assignment - #335

Open
GagaLP wants to merge 1 commit into
masterfrom
fix/fence-move-assign
Open

Fix: undefined buffer_snapshot move assignment#335
GagaLP wants to merge 1 commit into
masterfrom
fix/fence-move-assign

Conversation

@GagaLP

@GagaLP GagaLP commented May 28, 2026

Copy link
Copy Markdown
Contributor

This fixes a problem I came across while porting Celerity to Windows. The move assignment operator never returned *this, which resulted in really weird bugs on Windows.

@github-actions

Copy link
Copy Markdown

Check-perf-impact results: (ae6918621b46271c2f10d6eb978fe95d)

❓ No new benchmark data submitted. ❓
Please re-run the microbenchmarks and include the results if your commit could potentially affect performance.

@GagaLP
GagaLP force-pushed the fix/fence-move-assign branch from ed0d82a to bc65580 Compare July 14, 2026 13:18
@PeterTh

PeterTh commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Surprising that this went unnoticed so long. Can we get a regression test for it? (Ideally one that actually fails on Linux before the fix)

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29335953907

Coverage increased (+0.009%) to 95.076%

Details

  • Coverage increased (+0.009%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 7261
Covered Lines: 7156
Line Coverage: 98.55%
Relevant Branches: 3686
Covered Branches: 3252
Branch Coverage: 88.23%
Branches in Coverage %: Yes
Coverage Strength: 1877963.24 hits per line

💛 - Coveralls

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.

3 participants