summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-22 09:44:35 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-22 09:44:35 (GMT)
commit4814521a30b1edbd34a782cd804a501225294fd8 (patch)
treeb0b8df3ea1b5e5aaf8c964c8c817a8982cce644b /Swiften/Base
parentfe4dbe0430524152d198401eb18934abd4bae082 (diff)
downloadswift-4814521a30b1edbd34a782cd804a501225294fd8.zip
swift-4814521a30b1edbd34a782cd804a501225294fd8.tar.bz2
Fix expanded tab characters.
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/String.h2
-rw-r--r--Swiften/Base/UnitTest/StringTest.cpp8
-rw-r--r--Swiften/Base/sleep.cpp8
-rw-r--r--Swiften/Base/sleep.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/Swiften/Base/String.h b/Swiften/Base/String.h
index 336a663..c4a44a3 100644
--- a/Swiften/Base/String.h
+++ b/Swiften/Base/String.h
@@ -40,7 +40,7 @@ namespace Swift {
std::vector<String> split(char c) const;
size_t getLength() const;
- String getLowerCase() const;
+ String getLowerCase() const;
void removeAll(char c);
diff --git a/Swiften/Base/UnitTest/StringTest.cpp b/Swiften/Base/UnitTest/StringTest.cpp
index 1dd44fb..6ad12fd 100644
--- a/Swiften/Base/UnitTest/StringTest.cpp
+++ b/Swiften/Base/UnitTest/StringTest.cpp
@@ -23,7 +23,7 @@ class StringTest : public CppUnit::TestFixture
CPPUNIT_TEST(testReplaceAll_LastChar);
CPPUNIT_TEST(testReplaceAll_ConsecutiveChars);
CPPUNIT_TEST(testReplaceAll_MatchingReplace);
- CPPUNIT_TEST(testGetLowerCase);
+ CPPUNIT_TEST(testGetLowerCase);
CPPUNIT_TEST(testSplit);
CPPUNIT_TEST_SUITE_END();
@@ -144,11 +144,11 @@ class StringTest : public CppUnit::TestFixture
CPPUNIT_ASSERT_EQUAL(String("abbbc"), testling);
}
- void testGetLowerCase() {
+ void testGetLowerCase() {
String testling("aBcD e");
- CPPUNIT_ASSERT_EQUAL(String("abcd e"), testling.getLowerCase());
- }
+ CPPUNIT_ASSERT_EQUAL(String("abcd e"), testling.getLowerCase());
+ }
void testSplit() {
std::vector<String> result = String("abc def ghi").split(' ');
diff --git a/Swiften/Base/sleep.cpp b/Swiften/Base/sleep.cpp
index cecfd72..99d0fe6 100644
--- a/Swiften/Base/sleep.cpp
+++ b/Swiften/Base/sleep.cpp
@@ -5,10 +5,10 @@
namespace Swift {
void sleep(unsigned int msecs) {
- boost::xtime xt;
- boost::xtime_get(&xt, boost::TIME_UTC);
- xt.nsec += msecs*1000000;
- boost::thread::sleep(xt);
+ boost::xtime xt;
+ boost::xtime_get(&xt, boost::TIME_UTC);
+ xt.nsec += msecs*1000000;
+ boost::thread::sleep(xt);
}
}
diff --git a/Swiften/Base/sleep.h b/Swiften/Base/sleep.h
index b2a4ef1..bcebc4c 100644
--- a/Swiften/Base/sleep.h
+++ b/Swiften/Base/sleep.h
@@ -2,7 +2,7 @@
#define SWIFTEN_sleep_H
namespace Swift {
- void sleep(unsigned int msecs);
+ void sleep(unsigned int msecs);
}
#endif