1
0
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:
abv
2015-11-07 21:19:03 +03:00
parent cda9a0d4c2
commit 487bf1ceaa
52 changed files with 92 additions and 220 deletions

View File

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

View File

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