We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc09b39 commit cc9e1b3Copy full SHA for cc9e1b3
include/nbl/core/IReferenceCounted.h
@@ -303,11 +303,9 @@ namespace core
303
304
inline I_REFERENCE_COUNTED* const& get() const { return ptr; }
305
306
- inline I_REFERENCE_COUNTED* operator->() { return ptr; }
307
- inline const I_REFERENCE_COUNTED* operator->() const { return ptr; }
+ inline I_REFERENCE_COUNTED* operator->() const { return ptr; }
308
309
- inline I_REFERENCE_COUNTED& operator*() { return *ptr; }
310
- inline const I_REFERENCE_COUNTED& operator*() const { return *ptr; }
+ inline I_REFERENCE_COUNTED& operator*() const { return *ptr; }
311
312
inline I_REFERENCE_COUNTED& operator[](size_t idx) { return ptr[idx]; }
313
inline const I_REFERENCE_COUNTED& operator[](size_t idx) const { return ptr[idx]; }
0 commit comments