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/input.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/extension/input.cpp') diff --git a/src/extension/input.cpp b/src/extension/input.cpp index 3fb330998..a13b6c4ea 100644 --- a/src/extension/input.cpp +++ b/src/extension/input.cpp @@ -98,7 +98,7 @@ Input::Input (Inkscape::XML::Node * in_repr, Implementation::Implementation * in \return None \brief Destroys an Input extension */ -Input::~Input (void) +Input::~Input () { g_free(mimetype); g_free(extension); @@ -117,7 +117,7 @@ Input::~Input (void) class' check function which also checks out the implementation. */ bool -Input::check (void) +Input::check () { if (extension == nullptr) return FALSE; @@ -162,7 +162,7 @@ Input::open (const gchar *uri) \brief Get the mime-type that describes this extension */ gchar * -Input::get_mimetype(void) +Input::get_mimetype() { return mimetype; } @@ -172,7 +172,7 @@ Input::get_mimetype(void) \brief Get the filename extension for this extension */ gchar * -Input::get_extension(void) +Input::get_extension() { return extension; } @@ -182,7 +182,7 @@ Input::get_extension(void) \brief Get the name of the filetype supported */ gchar * -Input::get_filetypename(void) +Input::get_filetypename() { if (filetypename != nullptr) return filetypename; @@ -195,7 +195,7 @@ Input::get_filetypename(void) \brief Get the tooltip for more information on the filetype */ gchar * -Input::get_filetypetooltip(void) +Input::get_filetypetooltip() { return filetypetooltip; } -- cgit v1.2.3