mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024567: Coding rules - eliminate GCC warning -Wignored-qualifiers
Redundant const qualifiers of return types of functions returning values are removed
This commit is contained in:
@@ -158,10 +158,10 @@ Standard_Boolean TestTopOpeTools_Trace::Exist
|
||||
const t_flag TestTopOpeTools_Trace::Getflag(const Standard_Integer index)
|
||||
{ return (t_flag)myflag.Value(index); }
|
||||
|
||||
const tf_value TestTopOpeTools_Trace::Getfunc(const Standard_Integer index)
|
||||
tf_value TestTopOpeTools_Trace::Getfunc(const Standard_Integer index)
|
||||
{ return myfunc.Value(index); }
|
||||
|
||||
const te_ftyp TestTopOpeTools_Trace::Getftyp(const Standard_Integer index)
|
||||
te_ftyp TestTopOpeTools_Trace::Getftyp(const Standard_Integer index)
|
||||
{
|
||||
//JR/Hp :
|
||||
Standard_Integer intenum = myftyp.Value(index);
|
||||
|
@@ -116,8 +116,8 @@ private:
|
||||
// ==== Methods
|
||||
|
||||
const t_flag Getflag(const Standard_Integer index);
|
||||
const tf_value Getfunc(const Standard_Integer index);
|
||||
const te_ftyp Getftyp(const Standard_Integer index);
|
||||
tf_value Getfunc(const Standard_Integer index);
|
||||
te_ftyp Getftyp(const Standard_Integer index);
|
||||
Standard_Integer Add(const t_flag flag,const tf_value func,const te_ftyp ftyp);
|
||||
|
||||
// ==== Fields
|
||||
|
Reference in New Issue
Block a user