From 8d3ed4606fd802b5dde9e8e3c7ba5feaf8820443 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Mon, 10 Aug 2020 09:50:21 -0300 Subject: [PATCH] Drop const from _id Makes the TaggedThreadID copyable. --- lokimq/lokimq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lokimq/lokimq.h b/lokimq/lokimq.h index b35d6a7..690277a 100644 --- a/lokimq/lokimq.h +++ b/lokimq/lokimq.h @@ -93,7 +93,7 @@ class CatHelper; /// constructible, but is safe (and cheap) to copy. struct TaggedThreadID { private: - const int _id; + int _id; explicit constexpr TaggedThreadID(int id) : _id{id} {} friend class LokiMQ; template friend class Batch;