aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/univalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/univalue/univalue.h')
-rw-r--r--src/univalue/univalue.h2
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);