mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups and fixes (RIPD-532):
* Properly handle sfWalletLocator field * Plug a tiny memory leak * Avoid naked pointers * Remove unused variables * Other small cleanups
This commit is contained in:
@@ -64,7 +64,7 @@ void PathState::reset(STAmount const& in, STAmount const& out)
|
||||
}
|
||||
|
||||
// Return true, iff lhs has less priority than rhs.
|
||||
bool PathState::lessPriority (PathState& lhs, PathState& rhs)
|
||||
bool PathState::lessPriority (PathState const& lhs, PathState const& rhs)
|
||||
{
|
||||
// First rank is quality.
|
||||
if (lhs.uQuality != rhs.uQuality)
|
||||
|
||||
Reference in New Issue
Block a user