Fix a large number of cases where we copy construct a shared_ptr just to destroy it.

This commit is contained in:
JoelKatz
2012-08-15 04:01:22 -07:00
parent 11f7012d09
commit abf41dd4de
10 changed files with 41 additions and 46 deletions

View File

@@ -7,7 +7,7 @@
// #define VC_DEBUG
bool ValidationCollection::addValidation(SerializedValidation::pointer& val)
bool ValidationCollection::addValidation(const SerializedValidation::pointer& val)
{
NewcoinAddress signer = val->getSignerPublic();
bool isCurrent = false;