Skip to content

chore(🐙): include <utility> in GPUNativeBufferWrapper.h, as cpplint requires - #559

Merged
wcandillon merged 1 commit into
wcandillon:mainfrom
YevheniiKotyrlo:chore/cpplint-utility-include
Oct 16, 2026
Merged

wcandillon merged 1 commit into
wcandillon:mainfrom
YevheniiKotyrlo:chore/cpplint-utility-include

Conversation

@YevheniiKotyrlo

Copy link
Copy Markdown
Contributor

Problem

The cpplint job has failed on main since #552 added it: cpp/rnwgpu/api/GPUNativeBufferWrapper.h:93: Add #include <utility> for move [build/include_what_you_use] [4] (run). The header calls std::move and includes only <memory> and <string>, so the job fails on every PR.

Solution

Include <utility> with the header's other standard includes.

Tests

The cpplint job is the check.

Verification

npm run cpplint in packages/webgpu reports Total errors found: 1 on main (c0d4b193) and no error with this change.

…equires

The header calls std::move without including <utility>, which fails the
cpplint job on main: "Add #include <utility> for move
[build/include_what_you_use]".
@wcandillon
wcandillon merged commit 46f42a6 into wcandillon:main Oct 16, 2026
2 of 5 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.16.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants