make reference

v1
Brett 2023-10-27 14:29:41 -04:00
parent f639b4f83c
commit 52c5f2b7b3
1 changed files with 4 additions and 4 deletions

View File

@ -222,22 +222,22 @@ namespace blt
return _size;
}
inline T* ptr()
inline T*& ptr()
{
return _buffer;
}
inline T* ptr() const
inline T*& ptr() const
{
return _buffer;
}
inline T* data() const
inline T*& data() const
{
return _buffer;
}
inline T* data()
inline T*& data()
{
return _buffer;
}