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/ui/widget/spinbutton.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/ui/widget/spinbutton.h')
| -rw-r--r-- | src/ui/widget/spinbutton.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui/widget/spinbutton.h b/src/ui/widget/spinbutton.h index 33ff11576..c41aabf84 100644 --- a/src/ui/widget/spinbutton.h +++ b/src/ui/widget/spinbutton.h @@ -48,6 +48,10 @@ public: ~SpinButton() override = default;; + // noncopyable + SpinButton(const SpinButton&) = delete; + SpinButton& operator=(const SpinButton&) = delete; + void setUnitMenu(UnitMenu* unit_menu) { _unit_menu = unit_menu; }; void addUnitTracker(UnitTracker* ut) { _unit_tracker = ut; }; @@ -87,11 +91,6 @@ protected: * Undo the editing, by resetting the value upon when the spinbutton got focus. */ void undo(); - -private: - // noncopyable - SpinButton(const SpinButton&) = delete; - SpinButton& operator=(const SpinButton&) = delete; }; } // namespace Widget |
