mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
A more sensible implementaiton SOTemplate::getIndex.
This commit is contained in:
@@ -28,7 +28,7 @@ class SOTemplate
|
||||
{
|
||||
protected:
|
||||
std::vector<const SOElement*> mTypes;
|
||||
std::map<int, int> mMap; // field code -> index
|
||||
std::vector<int> mIndex; // field num -> index
|
||||
|
||||
public:
|
||||
SOTemplate() { ; }
|
||||
|
||||
Reference in New Issue
Block a user