diff --git a/etk/Hach.h b/etk/Hach.h index 47625e2..78cf9c0 100644 --- a/etk/Hach.h +++ b/etk/Hach.h @@ -160,6 +160,14 @@ namespace etk { return m_data.Size(); } + MY_TYPE& operator[] (esize_t _pos) + { + return GetValue(_pos); + } + const MY_TYPE& operator[] (esize_t _pos) const + { + return GetValue(_pos); + } const etk::UString& GetKey(esize_t _pos) const { // NOTE :Do not change log level, this generate error only in debug mode