Mod: Single arg ctors must be explicit

This commit is contained in:
berniev
2022-08-15 19:28:04 +10:00
committed by wwmayer
parent 3877fc62c3
commit 180edfa3cc
263 changed files with 473 additions and 473 deletions

View File

@@ -913,7 +913,7 @@ struct WireJoiner {
size_t iStart;
size_t iEnd;
size_t iCurrent;
StackInfo(size_t idx) :iStart(idx), iEnd(idx), iCurrent(idx) {}
explicit StackInfo(size_t idx) :iStart(idx), iEnd(idx), iCurrent(idx) {}
};
std::vector<StackInfo> stack;
std::vector<VertexInfo> vertexStack;