mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-08 14:15:58 +00:00
RefCounted: make copy constructor arg const
This commit is contained in:
parent
0216233a83
commit
b8387a62a6
@ -48,7 +48,7 @@ namespace backend {
|
||||
Reference();
|
||||
}
|
||||
|
||||
Ref(Ref<T>& other): pointee(other.pointee) {
|
||||
Ref(const Ref<T>& other): pointee(other.pointee) {
|
||||
Reference();
|
||||
}
|
||||
Ref<T>& operator=(const Ref<T>& other) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user