From c6e90f244afcf08bc65fc2f3dd47c97c7cc50e3a Mon Sep 17 00:00:00 2001 From: Dmitrij Naumov <dmitrij@naumov.de> Date: Sat, 10 Aug 2013 14:51:23 +0200 Subject: [PATCH] In MeshSubsets remove not required 'explicit' keyword. --- MeshLib/MeshSubsets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MeshLib/MeshSubsets.h b/MeshLib/MeshSubsets.h index 98947cc9501..d59255528bd 100644 --- a/MeshLib/MeshSubsets.h +++ b/MeshLib/MeshSubsets.h @@ -27,7 +27,7 @@ class MeshSubsets public: /// Single mesh subset constructor. - explicit MeshSubsets(const MeshSubset* mesh_subset) + MeshSubsets(const MeshSubset* mesh_subset) { _mesh_subsets.push_back(mesh_subset); _n_total_items = mesh_subset->getNTotalItems(); @@ -36,7 +36,7 @@ public: /// Construct MeshSubsets from a range of MeshSubset. InputIterator must /// dereference to MeshSubset*. template <typename InputIterator> - explicit MeshSubsets(InputIterator const& first, InputIterator const& last) + MeshSubsets(InputIterator const& first, InputIterator const& last) : _mesh_subsets(first, last) { _n_total_items = std::accumulate(first, last, 0u, -- GitLab