mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 18:26:51 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user