diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 13:55:58 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 13:55:58 +0000 |
| commit | 884fe02952017ac219cd23f9407d27ed4d8a8620 (patch) | |
| tree | a86d66e240ae1e72007ba75b23757c71d5a9a28c /src/extension/timer.h | |
| parent | Run clang-tidy’s modernize-use-emplace pass. (diff) | |
| download | inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip | |
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/extension/timer.h')
| -rw-r--r-- | src/extension/timer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/extension/timer.h b/src/extension/timer.h index e00929013..c8a5be438 100644 --- a/src/extension/timer.h +++ b/src/extension/timer.h @@ -41,18 +41,18 @@ class ExpirationTimer { /** \brief What extension this function relates to */ Extension * extension; - bool expired(void) const; + bool expired() const; - static bool idle_func (void); - static bool timer_func (void); + static bool idle_func (); + static bool timer_func (); public: ExpirationTimer(Extension * in_extension); - virtual ~ExpirationTimer(void); + virtual ~ExpirationTimer(); - void touch (void); - void lock (void) { locked++; }; - void unlock (void) { locked--; }; + void touch (); + void lock () { locked++; }; + void unlock () { locked--; }; /** \brief Set the timeout variable */ static void set_timeout (long in_seconds) { timeout = in_seconds; }; |
