Revert "libobs/util: Add index operator to BPtr"
This reverts commit 7224e8d36e
.
This change was unnecessary due to the fact that indexing is already
performed automatically via the cast operator.
This commit is contained in:
@@ -46,8 +46,6 @@ public:
|
||||
inline bool operator!() {return ptr == NULL;}
|
||||
inline bool operator==(T p) {return ptr == p;}
|
||||
inline bool operator!=(T p) {return ptr != p;}
|
||||
|
||||
inline T operator[](size_t idx) const {return ptr[idx];}
|
||||
};
|
||||
|
||||
class ConfigFile {
|
||||
|
Reference in New Issue
Block a user