summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Queue.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-23 21:23:35 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-23 21:23:35 +0100
commit462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1 (patch)
tree319614feeb429ae401d120f458e2555b426cadd4 /src/OSSupport/Queue.h
parentUpdated CONTRIBUTING file with formatting and essential rules. (diff)
downloadcuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.gz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.bz2
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.lz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.xz
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.tar.zst
cuberite-462e0bcf46ce8e7c29e9f00ace58c2fcebffb8d1.zip
Diffstat (limited to 'src/OSSupport/Queue.h')
-rw-r--r--src/OSSupport/Queue.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/OSSupport/Queue.h b/src/OSSupport/Queue.h
index 6c3d58295..beb6a63f1 100644
--- a/src/OSSupport/Queue.h
+++ b/src/OSSupport/Queue.h
@@ -29,7 +29,11 @@ public:
static void Delete(T) {};
/// Called when an Item is inserted with EnqueueItemIfNotPresent and there is another equal value already inserted
- static void Combine(T & a_existing, const T & a_new) {};
+ static void Combine(T & a_existing, const T & a_new)
+ {
+ UNUSED(a_existing);
+ UNUSED(a_new);
+ };
};