mirror of
https://github.com/overte-org/overte.git
synced 2025-08-15 08:32:25 +02:00
Fixing const usage on a template function
This commit is contained in:
parent
b0c02311c0
commit
d080d6347b
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ protected:
|
|||
template< typename T >
|
||||
const T* read() const { return reinterpret_cast< T* > ( _data ); }
|
||||
template< typename T >
|
||||
T* edit() const { _stamp++; return reinterpret_cast< T* > ( _data ); }
|
||||
T* edit() { _stamp++; return reinterpret_cast< T* > ( _data ); }
|
||||
|
||||
// Access the current version of the sysmem, used to compare if copies are in sync
|
||||
inline Stamp getStamp() const { return _stamp; }
|
||||
|
|
Loading…
Reference in a new issue