RefCounted: make copy constructor arg const

This commit is contained in:
Corentin Wallez 2017-11-21 15:12:30 -05:00 committed by Corentin Wallez
parent 0216233a83
commit b8387a62a6

View File

@ -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) {