From af1b4cf5ad48c672c698c764c8c4727cae05fda9 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 13 Dec 2021 05:24:17 +0100 Subject: [PATCH] pool: make get_id const as it just reads --- pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool.h b/pool.h index b8a525d..5e9d22d 100644 --- a/pool.h +++ b/pool.h @@ -19,7 +19,7 @@ public: pool_id = id; } - auto get_id() -> unsigned int; + auto get_id() const -> unsigned int; auto initialize_pool(unsigned int id) -> void { set_id(id);