[PR #1580] Update shadergen.cpp #563

Closed
opened 2026-01-29 19:08:34 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/stenzek/duckstation/pull/1580

State: closed
Merged: Yes


Quiets a warning in Clang about copying variables.

Actual warning text:

Loop variable '[qualifiers, name]' of type 'const std::__1::pair<const char *, const char *>' creates a copy from type 'const std::__1::pair<const char *, const char *>'
Use reference type 'const std::__1::pair<const char *, const char *> &' to prevent copying

**Original Pull Request:** https://github.com/stenzek/duckstation/pull/1580 **State:** closed **Merged:** Yes --- Quiets a warning in Clang about copying variables. Actual warning text: > Loop variable '[qualifiers, name]' of type 'const std::__1::pair<const char *, const char *>' creates a copy from type 'const std::__1::pair<const char *, const char *>' > Use reference type 'const std::__1::pair<const char *, const char *> &' to prevent copying
claunia added the pull-request label 2026-01-29 19:08:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#563