base: add const operator * to 'Volatile_object'

This commit is contained in:
Norman Feske 2016-11-07 11:14:47 +01:00 committed by Christian Helmuth
parent 0e0f830a14
commit ac1794ed7d

View File

@ -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
{