mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 03:57:44 +03:00
sync code
This commit is contained in:
@@ -32,7 +32,14 @@ public:
|
||||
}
|
||||
|
||||
operator const T *() const { return ptr; }
|
||||
const T & operator*() const { dbgAssert(ptr != nullptr) << "Accessing a moved pointer"; return *ptr; }
|
||||
|
||||
const T &
|
||||
operator*() const
|
||||
{
|
||||
dbgAssert(ptr != nullptr) << AlertInfo(AlertTeam::CORE, "buffer i/s") << "Accessing a moved pointer";
|
||||
return *ptr;
|
||||
}
|
||||
|
||||
const T * operator->() const { return ptr; }
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user