diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-20 09:59:31 -0400 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-04 09:16:05 +0200 |
commit | efc78837728bebcf2030d1d495018e563eb10c71 (patch) | |
tree | 767ac9e67aa0616498af77dfa64d5be3bf713a9a /src/univalue/univalue.h | |
parent | dbd855023158e1c5ca2c5f0e8be552ecfb455834 (diff) |
UniValue: prefer .size() to .count(), to harmonize w/ existing tree
Diffstat (limited to 'src/univalue/univalue.h')
-rw-r--r-- | src/univalue/univalue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/univalue/univalue.h b/src/univalue/univalue.h index 88d73b8c64..d31c596a61 100644 --- a/src/univalue/univalue.h +++ b/src/univalue/univalue.h @@ -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); |