Skip to content
Snippets Groups Projects
Commit 2f86b36b authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Norihiro Watanabe
Browse files

make the functions static

parent 97554088
No related branches found
No related tags found
No related merge requests found
...@@ -65,14 +65,14 @@ struct PropertyIndexParameter final ...@@ -65,14 +65,14 @@ struct PropertyIndexParameter final
private: private:
template <MeshLib::MeshItemType ITEM_TYPE> struct type {}; template <MeshLib::MeshItemType ITEM_TYPE> struct type {};
boost::optional<std::size_t> static boost::optional<std::size_t>
getMeshItemID(SpatialPosition const& pos, type<MeshLib::MeshItemType::Cell>) const getMeshItemID(SpatialPosition const& pos, type<MeshLib::MeshItemType::Cell>)
{ {
return pos.getElementID(); return pos.getElementID();
} }
boost::optional<std::size_t> static boost::optional<std::size_t>
getMeshItemID(SpatialPosition const& pos, type<MeshLib::MeshItemType::Node>) const getMeshItemID(SpatialPosition const& pos, type<MeshLib::MeshItemType::Node>)
{ {
return pos.getNodeID(); return pos.getNodeID();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment