Making C++ classes final
[iot2.git] / iotjava / iotrmi / C++ / ConcurrentLinkedListQueue.hpp
index 20073236b629d05d70ed2b27a975d11a37f0b114..6c9220a6648a048b49b3c87304e3fb5476f95606 100644 (file)
@@ -19,7 +19,7 @@ using namespace std;
 
 mutex queueMutex;
 
-class Node {
+class Node final {
 
        private:
                Node* next;
@@ -37,7 +37,7 @@ class Node {
 };
 
 
-class ConcurrentLinkedListQueue {
+class ConcurrentLinkedListQueue final {
 
        private:
                Node* tail;