diff options
Diffstat (limited to 'src/message-stack.h')
| -rw-r--r-- | src/message-stack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message-stack.h b/src/message-stack.h index d105095da..f86ae7b94 100644 --- a/src/message-stack.h +++ b/src/message-stack.h @@ -51,6 +51,9 @@ public: MessageStack(); ~MessageStack(); + MessageStack(MessageStack const &) = delete; // no copy + void operator=(MessageStack const &) = delete; // no assign + /** @brief returns the type of message currently at the top of the stack */ MessageType currentMessageType() { return _messages ? _messages->type : NORMAL_MESSAGE; @@ -160,9 +163,6 @@ private: guint timeout_id; }; - MessageStack(MessageStack const &) = delete; // no copy - void operator=(MessageStack const &) = delete; // no assign - /// pushes a message onto the stack with an optional timeout MessageId _push(MessageType type, unsigned int lifetime, char const *message); |
