mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
base: add const operator * to 'Volatile_object'
This commit is contained in:
parent
0e0f830a14
commit
ac1794ed7d
@ -142,7 +142,8 @@ class Genode::Volatile_object : Noncopyable
|
||||
MT *operator -> () { _check_constructed(); return _ptr(); }
|
||||
MT const *operator -> () const { _check_constructed(); return _const_ptr(); }
|
||||
|
||||
MT &operator * () { _check_constructed(); return *_ptr(); }
|
||||
MT &operator * () { _check_constructed(); return *_ptr(); }
|
||||
MT const &operator * () const { _check_constructed(); return *_const_ptr(); }
|
||||
|
||||
void print(Output &out) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user