From efc78837728bebcf2030d1d495018e563eb10c71 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 20 Aug 2014 09:59:31 -0400 Subject: UniValue: prefer .size() to .count(), to harmonize w/ existing tree --- src/univalue/univalue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/univalue') 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& memberTypes); -- cgit v1.2.3