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:
Nik Bougalis
2014-08-31 00:07:02 -07:00
parent 22ca13bc78
commit 56c18f7768
21 changed files with 54 additions and 58 deletions

View File

@@ -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)