refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)

This commit is contained in:
Alex Kremer
2026-03-17 19:09:05 +00:00
committed by GitHub
parent b523770486
commit 72f4cb097f
148 changed files with 424 additions and 397 deletions

View File

@@ -493,7 +493,7 @@ public:
return std::nullopt;
try
{
std::size_t pos;
std::size_t pos = 0;
auto const r = stoi(s, &pos);
if (pos != s.size())
return std::nullopt;