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