Commit 396a8f8f authored by Ed Laughton's avatar Ed Laughton

Fix compiler warnings for osx

'virtual' is redundant since the function is already declared 'override'/'final' but left as is due to code convention
parent c35c7e0f
This diff is collapsed.
......@@ -72,7 +72,7 @@ namespace Nektar
protected:
std::map<int, NormalVector> m_vertexNormals;
STD_REGIONS_EXPORT virtual NekDouble v_PhysEvaluate(
const Array<OneD, const NekDouble>& coords,
const Array<OneD, const NekDouble>& physvals) override;
......@@ -81,31 +81,31 @@ namespace Nektar
// Virtual Functions ----------------------------------------
virtual int v_GetCoordim(void)
virtual int v_GetCoordim(void) override
{
return 1;
}
virtual int v_GetShapeDimension() const
virtual int v_GetShapeDimension() const final
{
return 1;
}
virtual int v_GetNedges() const
virtual int v_GetNedges() const final
{
return 0;
}
virtual int v_GetNfaces() const
virtual int v_GetNfaces() const final
{
return 0;
}
STD_REGIONS_EXPORT virtual void v_SetUpPhysNormals(const int vertex);
STD_REGIONS_EXPORT virtual void v_SetUpPhysNormals(const int vertex) final;
STD_REGIONS_EXPORT const NormalVector & v_GetSurfaceNormal(
const int id) const;
const int id) const final;
STD_REGIONS_EXPORT const NormalVector & v_GetVertexNormal(const int vertex) const;
STD_REGIONS_EXPORT const NormalVector & v_GetVertexNormal(const int vertex) const final;
};
typedef std::shared_ptr<StdExpansion1D> StdExpansion1DSharedPtr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment