mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
Fix the problem
This commit is contained in:
@@ -1404,7 +1404,7 @@ public:
|
||||
{-20, -50, __LINE__},
|
||||
});
|
||||
|
||||
for (auto const [larger, smaller, line] : c)
|
||||
for (auto const& [larger, smaller, line] : c)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << larger << " > " << smaller;
|
||||
@@ -1429,7 +1429,7 @@ public:
|
||||
{-30, __LINE__},
|
||||
{-600, __LINE__},
|
||||
});
|
||||
for (auto const [n, line] : c)
|
||||
for (auto const& [n, line] : c)
|
||||
{
|
||||
auto const str = to_string(n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user