From 23adf501941b6cab0db4037cf9de8b56b2960f29 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Nov 2017 12:24:24 +0100 Subject: [PATCH] queue/IdTable: make "data" pointer const --- src/queue/IdTable.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/IdTable.hxx b/src/queue/IdTable.hxx index bcc1b0ea7..60e184091 100644 --- a/src/queue/IdTable.hxx +++ b/src/queue/IdTable.hxx @@ -34,7 +34,7 @@ class IdTable { unsigned next; - int *data; + int *const data; public: IdTable(unsigned _size) noexcept