diff --git a/repos/base/include/util/fifo.h b/repos/base/include/util/fifo.h index 13674bb17c..b3a3e1286d 100644 --- a/repos/base/include/util/fifo.h +++ b/repos/base/include/util/fifo.h @@ -206,7 +206,9 @@ class Genode::Fifo_element : public Fifo >::Element Fifo_element(T &object) : _object(object) { } - inline T &object() { return _object; } + T &object() { return _object; } + T const &object() const { return _object; } + }; #endif /* _INCLUDE__UTIL__FIFO_H_ */