Cleanups.

This commit is contained in:
JoelKatz
2012-05-28 03:35:52 -07:00
parent 2e4b92b680
commit e6e72a7b9a
5 changed files with 17 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ protected:
LedgerEntryType mType;
STUInt16 mVersion;
STObject mObject;
LedgerEntryFormat* mFormat;
const LedgerEntryFormat* mFormat;
SerializedLedgerEntry* duplicate() const { return new SerializedLedgerEntry(*this); }
@@ -41,7 +41,7 @@ public:
LedgerEntryType getType() const { return mType; }
uint16 getVersion() const { return mVersion.getValue(); }
LedgerEntryFormat* getFormat() { return mFormat; }
const LedgerEntryFormat* getFormat() { return mFormat; }
int getIFieldIndex(SOE_Field field) const { return mObject.getFieldIndex(field); }
int getIFieldCount() const { return mObject.getCount(); }