X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/a6b73fab30fa59bb7ce701ebec47e52e1d373e26..4d5ec9803b74d0f3e9c002a92a748bd08b6640ac:/sync_queue.h?ds=sidebyside diff --git a/sync_queue.h b/sync_queue.h index d400578..55d2e79 100644 --- a/sync_queue.h +++ b/sync_queue.h @@ -18,7 +18,7 @@ public: ~sync_queue() { node* n = head_node; - while (n != NULL) { + while (n != nullptr) { node* prev = n; n = n->next; delete prev; @@ -84,7 +84,7 @@ public: private: struct node { - node(): next(NULL) { } + node(): next(nullptr) { } T values[SYNC_QUEUE_BUFSIZE]; node* next; };