diff options
author | Ilya Zverev <zverik@textual.ru> | 2016-03-24 13:23:10 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2016-03-24 13:23:10 +0300 |
commit | 24b65aac4290d6a1377679ea6e7be65aad23c648 (patch) | |
tree | 7ef9371d876839f5b7a8d11645c21dcf72865357 /editor/changeset_wrapper.hpp | |
parent | 99fec047b33e0ae7c2ec379e531c1492faef8b09 (diff) |
[editor] Review fixes
Diffstat (limited to 'editor/changeset_wrapper.hpp')
-rw-r--r-- | editor/changeset_wrapper.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/changeset_wrapper.hpp b/editor/changeset_wrapper.hpp index c1d0d5583c..b199d8f095 100644 --- a/editor/changeset_wrapper.hpp +++ b/editor/changeset_wrapper.hpp @@ -19,7 +19,7 @@ struct ClientToken; class ChangesetWrapper { - using TTypeCount = map<string, uint16_t>; + using TTypeCount = map<string, size_t>; public: DECLARE_EXCEPTION(ChangesetWrapperException, RootException); @@ -64,10 +64,10 @@ private: static constexpr uint64_t kInvalidChangesetId = 0; uint64_t m_changesetId = kInvalidChangesetId; - // No m_deleted_types here, since we do not delete features. TTypeCount m_modified_types; TTypeCount m_created_types; - string TypeCountToString(TTypeCount const & typeCount) const; + TTypeCount m_deleted_types; + static string TypeCountToString(TTypeCount const & typeCount); string GetDescription() const; }; |