diff --git a/headers/os/support/Referenceable.h b/headers/os/support/Referenceable.h index bc242f050a..7d051ef3f3 100644 --- a/headers/os/support/Referenceable.h +++ b/headers/os/support/Referenceable.h @@ -176,7 +176,7 @@ public: BReference(const BReference& other) : - fReference(other) + fReference(const_cast(other.Get())) { }