mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 14:35:48 +00:00
Allow range-based for to work on STVector256
This commit is contained in:
committed by
Vinnie Falco
parent
3dde8b4345
commit
ebae927a3e
@@ -1621,6 +1621,15 @@ public:
|
||||
|
||||
Json::Value getJson (int) const;
|
||||
|
||||
std::vector<uint256>::const_iterator begin() const
|
||||
{
|
||||
return mValue.begin ();
|
||||
}
|
||||
std::vector<uint256>::const_iterator end() const
|
||||
{
|
||||
return mValue.end ();
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<uint256> mValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user