diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-28 23:15:59 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-10-30 14:55:11 (GMT) |
commit | 4041cc4dd4f0abc6641fed5890120efa691a27ca (patch) | |
tree | 8c9eb101469f453556314c23bcec57f680419c4e /Sluift | |
parent | 6e87ef3a842094483105df4e6333c90964a69a47 (diff) | |
download | swift-4041cc4dd4f0abc6641fed5890120efa691a27ca.zip swift-4041cc4dd4f0abc6641fed5890120efa691a27ca.tar.bz2 |
Add missing virtual and SWIFTEN_OVERRIDE annotations to reduce warnings with C++11.
Test-Information:
Tested with Clang 3.6.0.
Change-Id: I1f9ae8ae535d90f92b7263e86b51fe64b15524b4
Diffstat (limited to 'Sluift')
-rw-r--r-- | Sluift/EditlineTerminal.h | 2 | ||||
-rw-r--r-- | Sluift/StandardTerminal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Sluift/EditlineTerminal.h b/Sluift/EditlineTerminal.h index 2f671b7..6e24630 100644 --- a/Sluift/EditlineTerminal.h +++ b/Sluift/EditlineTerminal.h @@ -20,6 +20,6 @@ namespace Swift { virtual boost::optional<std::string> readLine(const std::string& prompt) SWIFTEN_OVERRIDE; virtual void printError(const std::string& message) SWIFTEN_OVERRIDE; - virtual void addToHistory(const std::string& command); + virtual void addToHistory(const std::string& command) SWIFTEN_OVERRIDE; }; } diff --git a/Sluift/StandardTerminal.h b/Sluift/StandardTerminal.h index 420df6b..af65532 100644 --- a/Sluift/StandardTerminal.h +++ b/Sluift/StandardTerminal.h @@ -17,6 +17,6 @@ namespace Swift { virtual boost::optional<std::string> readLine(const std::string& prompt) SWIFTEN_OVERRIDE; virtual void printError(const std::string& message) SWIFTEN_OVERRIDE; - virtual void addToHistory(const std::string& command); + virtual void addToHistory(const std::string& command) SWIFTEN_OVERRIDE; }; } |