Commit 0d3e74d 1 parent 640158f commit 0d3e74d Copy full SHA for 0d3e74d
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class UniValue {
71
71
bool getBool () const { return isTrue (); }
72
72
bool checkObject (const std::map<std::string,UniValue::VType>& memberTypes);
73
73
const UniValue& operator [](const std::string& key) const ;
74
- const UniValue& operator [](unsigned int index) const ;
74
+ const UniValue& operator [](size_t index) const ;
75
75
bool exists (const std::string& key) const { size_t i; return findKey (key, i); }
76
76
77
77
bool isNull () const { return (typ == VNULL); }
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ const UniValue& UniValue::operator[](const std::string& key) const
251
251
return values.at (index );
252
252
}
253
253
254
- const UniValue& UniValue::operator [](unsigned int index) const
254
+ const UniValue& UniValue::operator [](size_t index) const
255
255
{
256
256
if (typ != VOBJ && typ != VARR)
257
257
return NullUniValue;
You can’t perform that action at this time.
0 commit comments