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

@@ -12,6 +12,7 @@
// These must stay at the top of this file
std::map<int, SField::ptr> SField::codeToField;
boost::mutex SField::mapMutex;
int SField::num = 0;
SField sfInvalid(-1), sfGeneric(0);
SField sfLedgerEntry(STI_LEDGERENTRY, 1, "LedgerEntry");