From b5312b9ba00ae20937c3983ea41ae6aacd7c95df Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 27 Jun 2021 21:37:11 -0400 Subject: [PATCH] get_interrupt_line can be const. --- Machines/Enterprise/Nick.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Enterprise/Nick.hpp b/Machines/Enterprise/Nick.hpp index d620d21a8..eef4f19b0 100644 --- a/Machines/Enterprise/Nick.hpp +++ b/Machines/Enterprise/Nick.hpp @@ -34,7 +34,7 @@ class Nick { @returns The current state of the interrupt line — @c true for active; @c false for inactive. */ - inline bool get_interrupt_line() { + inline bool get_interrupt_line() const { return interrupt_line_; }