summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2013-03-25 22:12:52 (GMT)
committerTobias Markmann <tm@ayena.de>2013-03-26 22:31:39 (GMT)
commit20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb (patch)
tree537b08f35ba08de612856d8376e171766212b98a /SwifTools/SpellChecker.h
parent99063cc6e9168bf88d6c245d1f8bac02bd898c3d (diff)
downloadswift-20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb.zip
swift-20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb.tar.bz2
Adding basic support for native spell checking on Mac OS X.
Change-Id: Id29313a06f052ecbaef54be0c185cd7f1df375a2 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'SwifTools/SpellChecker.h')
-rw-r--r--SwifTools/SpellChecker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/SpellChecker.h b/SwifTools/SpellChecker.h
index 746fcaf..fd38418 100644
--- a/SwifTools/SpellChecker.h
+++ b/SwifTools/SpellChecker.h
@@ -20,7 +20,7 @@ namespace Swift {
}
virtual ~SpellChecker() {
delete parser_;
- };
+ }
virtual bool isCorrect(const std::string& word) = 0;
virtual void getSuggestions(const std::string& word, std::vector<std::string>& list) = 0;
virtual void checkFragment(const std::string& fragment, PositionPairList& misspelledPositions) = 0;