CArchitectureQueue: Implement Push

Former-commit-id: 182d400484
This commit is contained in:
Phillip Stephens 2022-12-08 13:41:19 -08:00
parent d4efd4caa1
commit b6f09b36d1
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
class CArchitectureQueue { class CArchitectureQueue {
public: public:
bool Push(const CArchitectureMessage& msg); void Push(const CArchitectureMessage& msg) { x0_queue.push_back(msg); }
CArchitectureMessage Pop() { CArchitectureMessage Pop() {
CArchitectureMessage result = *x0_queue.begin(); CArchitectureMessage result = *x0_queue.begin();
x0_queue.pop_front(); x0_queue.pop_front();