From f018dac5068a3b7a12cb8da183ad664200459962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Th=C3=B6ni?= Date: Mon, 29 Jul 2019 14:12:59 +0200 Subject: [PATCH] util/fifo: Change empty() method of fifo to const. Fixes #3464 --- repos/base/include/util/fifo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/base/include/util/fifo.h b/repos/base/include/util/fifo.h index a9d861f431..73524ccd03 100644 --- a/repos/base/include/util/fifo.h +++ b/repos/base/include/util/fifo.h @@ -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