From e5b98481928c437567b5379bc34d34bfdcebdaaf Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 30 Nov 2018 13:20:11 +0300 Subject: [PATCH] Add const classifier to getters to be able to use in const methods. --- src/GenericObj/SALOME_GenericObj_wrap.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GenericObj/SALOME_GenericObj_wrap.hxx b/src/GenericObj/SALOME_GenericObj_wrap.hxx index be8069a94..8263a2cbd 100644 --- a/src/GenericObj/SALOME_GenericObj_wrap.hxx +++ b/src/GenericObj/SALOME_GenericObj_wrap.hxx @@ -130,15 +130,15 @@ namespace SALOME return *this; } // ACCESS - operator TPtr() + operator TPtr() const { return _obj.in(); } - operator TVar() + operator TVar() const { return _obj; } - TVar operator->() + TVar operator->() const { return _obj; } -- 2.39.2