diff options
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); |