From 319bcc7fc39e6de5767dbc178bf010c8983cce49 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 25 Jan 2021 08:05:35 +0100 Subject: [PATCH] [A/IO/GocadIO] cppcheck: Parameter 'mesh_prop' can be declared with const. --- Applications/FileIO/GocadIO/GocadAsciiReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/FileIO/GocadIO/GocadAsciiReader.cpp b/Applications/FileIO/GocadIO/GocadAsciiReader.cpp index a2d1c1e30db..b484608fc51 100644 --- a/Applications/FileIO/GocadIO/GocadAsciiReader.cpp +++ b/Applications/FileIO/GocadIO/GocadAsciiReader.cpp @@ -239,7 +239,7 @@ MeshLib::Node* createNode(std::stringstream& sstr) bool parseNodes(std::ifstream& in, std::vector<MeshLib::Node*>& nodes, std::map<std::size_t, std::size_t>& node_id_map, - MeshLib::Properties& mesh_prop) + MeshLib::Properties const& mesh_prop) { NodeType t = NodeType::UNSPECIFIED; std::streampos pos = in.tellg(); -- GitLab