Drop const from _id

Makes the TaggedThreadID copyable.
This commit is contained in:
Jason Rhinelander 2020-08-10 09:50:21 -03:00
parent 30faadf01a
commit 8d3ed4606f
1 changed files with 1 additions and 1 deletions

View File

@ -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 <typename R> friend class Batch;