Skip to content

Commit

Permalink
minor code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Tectu committed Oct 7, 2023
1 parent e1141be commit 86d9a03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cppproperties/qt_widgets/boolean.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace tct::properties::qt_widgets
Q_DISABLE_COPY_MOVE(boolean)

public:
explicit
boolean(tct::properties::property<type>& p) :
widget_base(p)
{
Expand All @@ -25,7 +26,7 @@ namespace tct::properties::qt_widgets
});
}

~boolean() = default;
~boolean() override = default;
};

}
3 changes: 2 additions & 1 deletion cppproperties/qt_widgets/integer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace tct::properties::qt_widgets
Q_DISABLE_COPY_MOVE(integer)

public:
explicit
integer(tct::properties::property<type>& p) :
widget_base(p)
{
Expand All @@ -25,7 +26,7 @@ namespace tct::properties::qt_widgets
});
}

~integer() = default;
~integer() override = default;
};

}

0 comments on commit 86d9a03

Please sign in to comment.