diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-02 02:03:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-02 02:03:08 +0200 |
commit | dd063f79f6052959aff9ccff0f575888f0ce4b93 (patch) | |
tree | fbc663c264b9773cb584c562343381a797680806 /csv | |
parent | f9fbbd9b5e01ebb3e296da138cb4f2906d9bdcff (diff) |
busywork
Diffstat (limited to 'csv')
-rw-r--r-- | csv/csv.cpp | 2 | ||||
-rw-r--r-- | csv/csv.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp index 26a36b70..2f3d4d1f 100644 --- a/csv/csv.cpp +++ b/csv/csv.cpp @@ -54,7 +54,7 @@ QString CSV::readLine(){ QStringList CSV::parseLine(){ return parseLine(readLine()); } -QStringList CSV::parseLine(QString line){ +QStringList CSV::parseLine(QString const& line){ QStringList list; int pos2 = 0; QRegExp rx2("(?:\"([^\"]*)\";?)|(?:([^;]*);?)"); @@ -18,7 +18,7 @@ class CSV_EXPORT CSV public: QString readLine(); QStringList parseLine(); - static QStringList parseLine(QString line); + static QStringList parseLine(const QString& line); void setCodec(const char* codecName); static bool getGameData(const int gameID, unsigned char* table, QString& gamename); |