Skip to content

fix(warnings): rename the panel locals that hide a class member - #17

Merged
zackees merged 1 commit into
masterfrom
fix/w4-panel-shadowing
Oct 28, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/w4-panel-shadowing

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

The two panel/ translations units report C4458 (a local hides a class member) in obs-rust/obs-studio's Windows /W4 app build (#2626) — the panel sources compile after the ones fixed in #15 and #16, so they only became visible now:

  • panel/browser-panel-client.cpp:420 — std::string script hides QCefBrowserClient::script. Renamed to close_script.
  • panel/browser-panel.cpp:481 — std::string url hides QCefWidgetInternal::url. Renamed to frame_url.

Renames of locals only; no member, signature or behaviour change.

@zackees
zackees merged commit 463e16b into master Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant