diff options
author | vng <viktor.govako@gmail.com> | 2011-05-02 23:20:12 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:51 +0300 |
commit | 7c895ddf388a7efc59b22e60687b6e800d21c49f (patch) | |
tree | bd6e352272bb608a6dc2d4c43904ea8ee9ad2286 /base/buffer_vector.hpp | |
parent | 7ef9d80a7272d9cb93fc3d75634fed06243bd0e5 (diff) |
Revert "DrawRule order optimization. "
This reverts commit 888b8d01792f1c4028f4ea24a99c0477900a24b9.
Diffstat (limited to 'base/buffer_vector.hpp')
-rw-r--r-- | base/buffer_vector.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/base/buffer_vector.hpp b/base/buffer_vector.hpp index 6c5b884d2b..f29f89ad1b 100644 --- a/base/buffer_vector.hpp +++ b/base/buffer_vector.hpp @@ -92,19 +92,11 @@ public: T const * begin() const { return data(); } T const * end() const { return (data() + m_size); } - T * begin () {return data();} - T * end() {return (data() + m_size); } - T const * data() const { return (m_size > N ? &m_dynamic[0] : m_static.data()); } - T * data() - { - return (m_size > N ? &m_dynamic[0] : m_static.data()); - } - bool empty() const { return m_size == 0; } size_t size() const { return m_size; } |