Simplifications.

This commit is contained in:
JoelKatz
2012-05-27 20:09:49 -07:00
parent 02fd3e2f7a
commit 51816f1e56
2 changed files with 30 additions and 82 deletions

View File

@@ -244,6 +244,8 @@ public:
SerializedType(n), mCurrency(currency), mValue(v), mOffset(off), mIsNegative(isNeg)
{ canonicalize(); }
STAmount(const char* n, int64 v);
static std::auto_ptr<SerializedType> deserialize(SerializerIterator& sit, const char* name)
{ return std::auto_ptr<SerializedType>(construct(sit, name)); }