summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-10-19 20:21:23 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-17 15:36:04 +0000
commit30ff30a8bb231dd072f588861ac6844925857b32 (patch)
tree7eef4f8b890c0e8471f45e181de0bf73b801f95e
parentRemove unrequired BOOST_TEST_DONT_PRINT_LOG_VALUEs (diff)
downloadicespider-30ff30a8bb231dd072f588861ac6844925857b32.tar.bz2
icespider-30ff30a8bb231dd072f588861ac6844925857b32.tar.xz
icespider-30ff30a8bb231dd072f588861ac6844925857b32.zip
Concession to cppcheck, which crashes on this line
-rw-r--r--icespider/core/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/icespider/core/util.h b/icespider/core/util.h
index 9a673e4..7d25830 100644
--- a/icespider/core/util.h
+++ b/icespider/core/util.h
@@ -102,7 +102,7 @@ private:
constexpr static auto buf {[]() {
std::array<typename tn::char_type, tn::name().length() - tn::namespaces() + 1> buf {};
auto out {buf.begin()};
- auto cln {false};
+ auto cln = false;
for (const auto & in : tn::name()) {
if (in == ':') {
if (cln) {