summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-26 12:24:24 +0100
committerMax Kellermann <max@musicpd.org>2017-11-26 12:24:24 +0100
commit23adf501941b6cab0db4037cf9de8b56b2960f29 (patch)
tree4df0048b7ca0c9ff8945c38d7bb0298d3ce46c50
parent0691ecc0520253179c24bdfd146ee9973217ccb1 (diff)
queue/IdTable: make "data" pointer const
-rw-r--r--src/queue/IdTable.hxx2
1 files changed, 1 insertions, 1 deletions
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