Use STPathSet in place of STPath in transactions.

This commit is contained in:
Arthur Britto
2012-05-20 23:43:02 -07:00
parent 261fab7108
commit 1e9304f8c6
9 changed files with 16 additions and 17 deletions

View File

@@ -469,8 +469,8 @@ public:
bool isEmpty() const { return mPath.empty(); }
const STPathElement& getElement(int offset) const { return mPath[offset]; }
const STPathElement& getElemet(int offset) { return mPath[offset]; }
void addElement(const STPathElement& e) { mPath.push_back(e); }
void clear() { mPath.clear(); }
void addElement(const STPathElement& e) { mPath.push_back(e); }
void clear() { mPath.clear(); }
int getSerializeSize() const { return 1 + mPath.size() * 21; }
std::string getText() const;
Json::Value getJson(int) const;