diff options
Diffstat (limited to 'indra/llcommon/llstrider.h')
-rw-r--r-- | indra/llcommon/llstrider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llstrider.h b/indra/llcommon/llstrider.h index 0688e43940..c5fbf1282a 100644 --- a/indra/llcommon/llstrider.h +++ b/indra/llcommon/llstrider.h @@ -32,6 +32,7 @@ public: Object* operator->() { return mObjectp; } Object& operator *() { return *mObjectp; } Object* operator ++(int) { Object* old = mObjectp; mBytep += mSkip; return old; } + Object* operator +=(int i) { mBytep += mSkip*i; return mObjectp; } Object& operator[](U32 index) { return *(Object*)(mBytep + (mSkip * index)); } }; |