summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-04-04 13:24:01 (GMT)
committerTobias Markmann <tm@ayena.de>2016-04-04 13:24:39 (GMT)
commit4f3821a090931499b9c68b3b3ad785a98ea9d742 (patch)
treed73db72ce5dc3c547ceb56fa9522ce8f6f3e1336 /SwifTools
parent741c45b74d5f634622eb5f757c49323274fb8937 (diff)
downloadswift-4f3821a090931499b9c68b3b3ad785a98ea9d742.zip
swift-4f3821a090931499b9c68b3b3ad785a98ea9d742.tar.bz2
Apply automated clang-tidy fixes and add missing includes
Test-Information: Builds on OS X 10.11.4 and unit tests pass. Change-Id: I8775e8d1e3addbc88b220c1cc618637f706daca2
Diffstat (limited to 'SwifTools')
-rw-r--r--SwifTools/SpellCheckerFactory.h9
-rw-r--r--SwifTools/UnitTest/SpellParserTest.cpp2
2 files changed, 10 insertions, 1 deletions
diff --git a/SwifTools/SpellCheckerFactory.h b/SwifTools/SpellCheckerFactory.h
index a0de98c..2e1711a 100644
--- a/SwifTools/SpellCheckerFactory.h
+++ b/SwifTools/SpellCheckerFactory.h
@@ -4,8 +4,16 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2016 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <string>
+
#include <Swiften/Base/Platform.h>
#ifdef HAVE_HUNSPELL
@@ -16,6 +24,7 @@
namespace Swift {
class SpellChecker;
+
class SpellCheckerFactory {
public:
SpellCheckerFactory();
diff --git a/SwifTools/UnitTest/SpellParserTest.cpp b/SwifTools/UnitTest/SpellParserTest.cpp
index da233e5..3148ae6 100644
--- a/SwifTools/UnitTest/SpellParserTest.cpp
+++ b/SwifTools/UnitTest/SpellParserTest.cpp
@@ -27,7 +27,7 @@ class SpellParserTest : public CppUnit::TestFixture {
public:
SpellParserTest() {
parser_ = new SpellParser();
- };
+ }
void tearDown() {
position_.clear();
}