diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-01 19:59:05 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-01 19:59:05 +0000 |
| commit | db053372c3b10afd89e780ab08a63493ccc3d1a7 (patch) | |
| tree | 97d7ad322270c4167de38b7194021d45405fa8d5 /src/message-stack.h | |
| parent | ComboToolItem: Temporary workaround to display pixbuf by default (diff) | |
| download | inkscape-db053372c3b10afd89e780ab08a63493ccc3d1a7.tar.gz inkscape-db053372c3b10afd89e780ab08a63493ccc3d1a7.zip | |
clang-tidy recent changes
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); |
