From 884fe02952017ac219cd23f9407d27ed4d8a8620 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Jun 2018 15:55:58 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-redundant-void-a?= =?UTF-8?q?rg=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/extension/param/string.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/extension/param/string.cpp') diff --git a/src/extension/param/string.cpp b/src/extension/param/string.cpp index 775bf62ee..59e21d77d 100644 --- a/src/extension/param/string.cpp +++ b/src/extension/param/string.cpp @@ -27,7 +27,7 @@ namespace Extension { /** Free the allocated data. */ -ParamString::~ParamString(void) +ParamString::~ParamString() { g_free(_value); _value = nullptr; @@ -136,7 +136,7 @@ public: this->set_max_length(_pref->getMaxLength()); //Set the max length - default zero means no maximum this->signal_changed().connect(sigc::mem_fun(this, &ParamStringEntry::changed_text)); }; - void changed_text (void); + void changed_text (); }; @@ -146,7 +146,7 @@ public: * This function responds to the box changing by grabbing the value * from the text box and putting it in the parameter. */ -void ParamStringEntry::changed_text(void) +void ParamStringEntry::changed_text() { Glib::ustring data = this->get_text(); _pref->set(data.c_str(), _doc, _node); -- cgit v1.2.3