diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-05-23 02:00:52 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:17:48 +0300 |
commit | 4a98be33ca3ab840ae04bec54a0f2feabab40268 (patch) | |
tree | 5ec127edfa1b90922ff32934a2159680e1f4e262 /base/buffer_vector.hpp | |
parent | 45cb83d183288fbe2b238438f9ff58e5c2e2fae0 (diff) |
Add size_type typedef to buffer_vector.hpp
Diffstat (limited to 'base/buffer_vector.hpp')
-rw-r--r-- | base/buffer_vector.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/buffer_vector.hpp b/base/buffer_vector.hpp index d0353e5530..1255faafde 100644 --- a/base/buffer_vector.hpp +++ b/base/buffer_vector.hpp @@ -17,6 +17,7 @@ public: typedef T value_type; typedef T const & const_reference; typedef T & reference; + typedef size_t size_type; buffer_vector() : m_size(0) {} explicit buffer_vector(size_t n, T c = T()) : m_size(0) |