mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
base: add const version of 'Fifo::Element::object'
This commit is contained in:
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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user