mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base: add const version of 'Fifo::Element::object'
This commit is contained in:
committed by
Christian Helmuth
parent
35cf804471
commit
ea6b1c255e
@@ -206,7 +206,9 @@ class Genode::Fifo_element : public Fifo<Fifo_element<T> >::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_ */
|
||||
|
||||
Reference in New Issue
Block a user