Merge pull request #3452 from Beep6581/cppcheck

merge fixes for a lot of issues reported by Cppcheck
This commit is contained in:
Ingo Weyrich
2016-10-09 22:55:31 +02:00
committed by GitHub
114 changed files with 611 additions and 1777 deletions

View File

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