UniValue: prefer .size() to .count(), to harmonize w/ existing tree

This commit is contained in:
Jeff Garzik
2014-08-20 09:59:31 -04:00
committed by Jack Grigg
parent 7d4ced95ed
commit ec57cc0ffe
3 changed files with 11 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ public:
std::string getValStr() const { return val; }
bool empty() const { return (values.size() == 0); }
size_t count() const { return values.size(); }
size_t size() const { return values.size(); }
bool getBool() const { return isTrue(); }
bool checkObject(const std::map<std::string,UniValue::VType>& memberTypes);