util/fifo: Change empty() method of fifo to const.

Fixes #3464
This commit is contained in:
Stefan Thöni 2019-07-29 14:12:59 +02:00 committed by Christian Helmuth
parent 607fe83c63
commit f018dac506

View File

@ -67,7 +67,7 @@ class Genode::Fifo
/**
* Return true if queue is empty
*/
bool empty() { return _tail == nullptr; }
bool empty() const { return _tail == nullptr; }
/**
* Constructor