A more sensible implementaiton SOTemplate::getIndex.

This commit is contained in:
JoelKatz
2013-03-02 22:16:52 -08:00
parent c6b2b5b819
commit 402f296c36
4 changed files with 20 additions and 6 deletions

View File

@@ -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() { ; }