From 6775574b0f31718d8d3fb18a9f32ab56ed3962f4 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Sun, 5 Apr 2020 15:04:16 -0500 Subject: [PATCH] Making sure the MOAB unstructured mesh function is an override of the base class. --- src/mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh.cpp b/src/mesh.cpp index 3050bdeae3..1731c0d731 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -2079,8 +2079,8 @@ UnstructuredMesh::get_score_tags(std::string score) const { } void -UnstructuredMesh::add_score(std::string score) const { - auto score_tags = this->get_score_tags(score); +UnstructuredMesh::add_score(const std::string& score) { + auto score_tags = get_score_tags(score); } void UnstructuredMesh::remove_score(std::string score) const {