From 2e3b93d03dd0a410aff9550f27ab93d8792d55c1 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 2 Jun 2017 22:45:46 -0700 Subject: [PATCH] Changes to make the linter happy --- src/Kaleidoscope/TypingBreaks.cpp | 2 +- src/Kaleidoscope/TypingBreaks.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Kaleidoscope/TypingBreaks.cpp b/src/Kaleidoscope/TypingBreaks.cpp index 922a85ad..494c2258 100644 --- a/src/Kaleidoscope/TypingBreaks.cpp +++ b/src/Kaleidoscope/TypingBreaks.cpp @@ -193,7 +193,7 @@ TypingBreaks::focusHook (const char *command) { EEPROM.put (settingsBase, settings); return true; } -}; +} // namespace KaleidoscopePlugins KaleidoscopePlugins::TypingBreaks TypingBreaks; diff --git a/src/Kaleidoscope/TypingBreaks.h b/src/Kaleidoscope/TypingBreaks.h index 02dbdaf5..69312e6d 100644 --- a/src/Kaleidoscope/TypingBreaks.h +++ b/src/Kaleidoscope/TypingBreaks.h @@ -25,7 +25,7 @@ class TypingBreaks : public KaleidoscopePlugin { public: TypingBreaks (void); - virtual void begin (void) final; + void begin (void) final; static void enableEEPROM (void); static bool focusHook (const char *command); @@ -50,8 +50,8 @@ class TypingBreaks : public KaleidoscopePlugin { static uint16_t settingsBase; static Key eventHandlerHook (Key mappedKey, byte row, byte col, uint8_t keyState); -}; -}; +} +} // namespace KaleidoscopePlugins extern KaleidoscopePlugins::TypingBreaks TypingBreaks;