Commit c3dc81b4 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

ThreadPool: fix formailty to allow building with Clang11

parent 675bec49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ namespace allpix {
    ThreadPool::SafeQueue<T>::SafeQueue(unsigned int max_standard_size, unsigned max_priority_size)
        : max_standard_size_(max_standard_size), max_priority_size_(max_priority_size) {}

    template <typename T> ThreadPool::SafeQueue<T>::~SafeQueue() { invalidate(); }
    template <typename T> ThreadPool::SafeQueue<T>::~SafeQueue<T>() { invalidate(); }

    /*
     * Block until a value is available if the wait parameter is set to true. The wait exits when the queue is invalidated.