Fix one bogus and one questionable use of 'reserve'

This commit is contained in:
JoelKatz
2012-06-21 20:18:15 -07:00
parent dda06d989d
commit 31592c145b
2 changed files with 2 additions and 4 deletions

View File

@@ -80,8 +80,6 @@ HashedObject::pointer HashedObject::retrieve(const uint256& hash)
std::string type;
uint32 index;
std::vector<unsigned char> data;
data.reserve(8192);
{
ScopedLock sl(theApp->getHashNodeDB()->getDBLock());
Database* db = theApp->getHashNodeDB()->getDB();