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:
@@ -33,7 +33,6 @@ TNaming_MapIteratorOfMapOfNamedShape.hxx
|
||||
TNaming_MapOfNamedShape.hxx
|
||||
TNaming_Name.cxx
|
||||
TNaming_Name.hxx
|
||||
TNaming_Name.lxx
|
||||
TNaming_NamedShape.cxx
|
||||
TNaming_NamedShape.hxx
|
||||
TNaming_NamedShape.lxx
|
||||
|
@@ -76,25 +76,16 @@ public:
|
||||
|
||||
Standard_EXPORT const TDF_Label& ContextLabel() const;
|
||||
|
||||
const TopAbs_Orientation Orientation() const;
|
||||
TopAbs_Orientation Orientation() const
|
||||
{
|
||||
return myOrientation;
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Boolean Solve (const TDF_Label& aLab, const TDF_LabelMap& Valid) const;
|
||||
|
||||
Standard_EXPORT void Paste (TNaming_Name& into, const Handle(TDF_RelocationTable)& RT) const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
TNaming_NameType myType;
|
||||
TopAbs_ShapeEnum myShapeType;
|
||||
TNaming_ListOfNamedShape myArgs;
|
||||
@@ -103,15 +94,6 @@ private:
|
||||
TopoDS_Shape myShape;
|
||||
TDF_Label myContextLabel;
|
||||
TopAbs_Orientation myOrientation;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include <TNaming_Name.lxx>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _TNaming_Name_HeaderFile
|
||||
|
@@ -1,26 +0,0 @@
|
||||
// File: TNaming_Name.lxx
|
||||
// Copyright: Open CASCADE 2013
|
||||
// Created on: 2013-07-03
|
||||
// Created by: Sergey Zaritchny
|
||||
// Copyright (c) 1999-2013 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
//function : Orientation
|
||||
//purpose : Get
|
||||
//=======================================================================
|
||||
|
||||
inline const TopAbs_Orientation TNaming_Name::Orientation() const
|
||||
{
|
||||
return myOrientation;
|
||||
}
|
Reference in New Issue
Block a user