summaryrefslogtreecommitdiffstats
path: root/src/extension/param/string.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
commit884fe02952017ac219cd23f9407d27ed4d8a8620 (patch)
treea86d66e240ae1e72007ba75b23757c71d5a9a28c /src/extension/param/string.cpp
parentRun clang-tidy’s modernize-use-emplace pass. (diff)
downloadinkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz
inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/extension/param/string.cpp')
-rw-r--r--src/extension/param/string.cpp6
1 files changed, 3 insertions, 3 deletions
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);