From b8387a62a62b062343433880197f84d651a18867 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 21 Nov 2017 15:12:30 -0500 Subject: [PATCH] RefCounted: make copy constructor arg const --- src/backend/RefCounted.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/RefCounted.h b/src/backend/RefCounted.h index fd77eb0d52..09048fd5ce 100644 --- a/src/backend/RefCounted.h +++ b/src/backend/RefCounted.h @@ -48,7 +48,7 @@ namespace backend { Reference(); } - Ref(Ref& other): pointee(other.pointee) { + Ref(const Ref& other): pointee(other.pointee) { Reference(); } Ref& operator=(const Ref& other) {