refactor: fix sonar cpp:S936 (#5905)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-12 12:44:15 -04:00
1 parent d1fc311f6b
commit b261a1b95e
24 files changed
+295 -111

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ namespace dxgi {
dxgi->Release();
}
using factory1_t = util::safe_ptr<IDXGIFactory1, Release<IDXGIFactory1>>;
using adapter_t = util::safe_ptr<IDXGIAdapter1, Release<IDXGIAdapter1>>;
using output_t = util::safe_ptr<IDXGIOutput, Release<IDXGIOutput>>;
using factory1_t = util::safe_ptr<IDXGIFactory1, &Release<IDXGIFactory1>>;
using adapter_t = util::safe_ptr<IDXGIAdapter1, &Release<IDXGIAdapter1>>;
using output_t = util::safe_ptr<IDXGIOutput, &Release<IDXGIOutput>>;
} // namespace dxgi
int main(int argc, char *argv[]) {