pool: make get_id const as it just reads
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-12-13 05:24:17 +01:00
parent 7eaaef2fdb
commit af1b4cf5ad
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

2
pool.h
View File

@ -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);