]> git.stg.codes - stg.git/blobdiff - include/stg/user_traff.h
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
[stg.git] / include / stg / user_traff.h
index 8ef8e2608f8d3f2f569a7bb8cd4800e57a739b7b..eec4627669f6c8e8ee47797a695a1f0d3caf6304 100644 (file)
@@ -80,7 +80,6 @@ return o;
 class DIR_TRAFF_RES
 {
 public:
 class DIR_TRAFF_RES
 {
 public:
-    typedef RESETABLE<uint64_t> value_type;
     typedef RESETABLE<uint64_t> ValueType;
     typedef std::vector<ValueType> ContainerType;
     typedef ContainerType::size_type IndexType;
     typedef RESETABLE<uint64_t> ValueType;
     typedef std::vector<ValueType> ContainerType;
     typedef ContainerType::size_type IndexType;
@@ -94,7 +93,6 @@ public:
     }
     const ValueType & operator[](IndexType idx) const { return traff[idx]; }
     ValueType & operator[](IndexType idx) { return traff[idx]; }
     }
     const ValueType & operator[](IndexType idx) const { return traff[idx]; }
     ValueType & operator[](IndexType idx) { return traff[idx]; }
-    IndexType size() const { return traff.size(); }
     DIR_TRAFF GetData() const
     {
     DIR_TRAFF res;
     DIR_TRAFF GetData() const
     {
     DIR_TRAFF res;