summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/behavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/behavior.h')
-rw-r--r--src/ui/dialog/behavior.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/behavior.h b/src/ui/dialog/behavior.h
index 5d5519a03..fbe47c635 100644
--- a/src/ui/dialog/behavior.h
+++ b/src/ui/dialog/behavior.h
@@ -78,9 +78,9 @@ protected:
Dialog& _dialog; //< reference to the owner
private:
- Behavior(); // no constructor without params
- Behavior(const Behavior &); // no copy
- Behavior &operator=(const Behavior &); // no assign
+ Behavior() = delete; // no constructor without params
+ Behavior(const Behavior &) = delete; // no copy
+ Behavior &operator=(const Behavior &) = delete; // no assign
};
} // namespace Behavior