Mercurial > dedupe
diff UniqueString.hpp @ 34:fda70a362ed5
Remove whitespace.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 06 Sep 2012 21:33:24 +0200 |
| parents | bf3dce7fedcb |
| children | b9515dc35fe4 |
line wrap: on
line diff
--- a/UniqueString.hpp Thu Sep 06 21:32:33 2012 +0200 +++ b/UniqueString.hpp Thu Sep 06 21:33:24 2012 +0200 @@ -9,14 +9,14 @@ { private: static QMap<QString, QString> map; - + public: UniqueString(const QString& str) { if (!map.contains(str)) { map.insert(str, str); } - QString::operator=(map.value(str)); + QString::operator=(map.value(str)); } }; #elseif 0 @@ -32,7 +32,7 @@ QString myString; static QMap<QString, int> lup; static uint numInserts; - + public: QStringList chunk(const QString& str) {
