mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Add the -Wdeprecated-copy-dtor warning.
This should fix the warning triggering when using Dawn in Skia. Bug: None Change-Id: I045ebc87f9e8dbff035920fc6eaa409c2b70d0f2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30701 Reviewed-by: John Stiles <johnstiles@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8d248300c4
commit
18c7b0e0b1
@@ -45,6 +45,9 @@ namespace dawn_native {
|
||||
mImpl = nullptr;
|
||||
}
|
||||
|
||||
Adapter::Adapter(const Adapter& other) = default;
|
||||
Adapter& Adapter::operator=(const Adapter& other) = default;
|
||||
|
||||
void Adapter::GetProperties(wgpu::AdapterProperties* properties) const {
|
||||
properties->backendType = mImpl->GetBackendType();
|
||||
properties->adapterType = mImpl->GetAdapterType();
|
||||
|
||||
Reference in New Issue
Block a user