Cppcheck: Fix issues related to explicit constructors

This commit is contained in:
heckflosse
2016-10-03 00:54:02 +02:00
parent ccd9002c3a
commit 3552fd4161
41 changed files with 45 additions and 45 deletions

View File

@@ -79,7 +79,7 @@ public:
class ConnectionBlocker
{
public:
ConnectionBlocker (sigc::connection& connection) : connection (connection)
explicit ConnectionBlocker (sigc::connection& connection) : connection (connection)
{
wasBlocked = connection.block();
}
@@ -101,7 +101,7 @@ private:
Gtk::Container *pC;
public:
ExpanderBox( Gtk::Container *p);
explicit ExpanderBox( Gtk::Container *p);
~ExpanderBox( )
{
delete pC;