diff --git a/os/include/util/volatile_object.h b/os/include/util/volatile_object.h index 50213380bb..ab4d2f8aad 100644 --- a/os/include/util/volatile_object.h +++ b/os/include/util/volatile_object.h @@ -134,6 +134,8 @@ class Genode::Volatile_object */ MT *operator -> () { _check_constructed(); return _ptr(); } MT const *operator -> () const { _check_constructed(); return _const_ptr(); } + + MT &operator * () { _check_constructed(); return *_ptr(); } };