From bcd896dc50478b75d6bb5bfe4bf5616d5fe7f3ba Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 14 Apr 2014 08:14:46 +0200 Subject: [PATCH] [TetGenInterface] Made two methods const. --- FileIO/TetGenInterface.cpp | 4 ++-- FileIO/TetGenInterface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FileIO/TetGenInterface.cpp b/FileIO/TetGenInterface.cpp index 32efd553b55..ad009c5e93b 100644 --- a/FileIO/TetGenInterface.cpp +++ b/FileIO/TetGenInterface.cpp @@ -112,7 +112,7 @@ std::size_t TetGenInterface::getNFacets(std::ifstream &input) const bool TetGenInterface::parseFacets(std::ifstream &input, std::vector<GeoLib::Surface*> &surfaces, - std::vector<GeoLib::Point*> &points) + std::vector<GeoLib::Point*> &points) const { const std::size_t nFacets (this->getNFacets(input)); std::size_t nMultPolys (0); @@ -361,7 +361,7 @@ bool TetGenInterface::parseNodes(std::ifstream &ins, bool TetGenInterface::readElementsFromStream(std::ifstream &ins, std::vector<MeshLib::Element*> &elements, - const std::vector<MeshLib::Node*> &nodes) + const std::vector<MeshLib::Node*> &nodes) const { std::string line; getline (ins, line); diff --git a/FileIO/TetGenInterface.h b/FileIO/TetGenInterface.h index 41f03471514..72ca2c04618 100644 --- a/FileIO/TetGenInterface.h +++ b/FileIO/TetGenInterface.h @@ -84,7 +84,7 @@ private: */ bool parseFacets(std::ifstream &input, std::vector<GeoLib::Surface*> &surfaces, - std::vector<GeoLib::Point*> &points); + std::vector<GeoLib::Point*> &points) const; /** * Method reads the nodes from stream and stores them in a node vector. -- GitLab