diff --git a/include/KawaiiMQ/Queue.h b/include/KawaiiMQ/Queue.h index 491db36..276cfb4 100644 --- a/include/KawaiiMQ/Queue.h +++ b/include/KawaiiMQ/Queue.h @@ -97,7 +97,7 @@ namespace KawaiiMQ { std::string getName() const; - std::queue> getElement() const; + std::queue> getElements() const; private: static std::shared_mutex mtx;