We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
silent
1 parent e3b5c76 commit 49571ffCopy full SHA for 49571ff
src/csv-parser.cc
@@ -26,7 +26,6 @@
26
struct AbstractCsvParser::Private {
27
const std::string *pFileName = nullptr;
28
int lineno = 0;
29
- bool silent = false;
30
bool hasError = false;
31
};
32
@@ -70,7 +69,7 @@ void AbstractCsvParser::parseError(const std::string &msg)
70
69
{
71
assert(d->pFileName);
72
d->hasError = true;
73
- if (d->silent)
+ if (this->silent)
74
return;
75
76
std::cerr
src/csv-parser.hh
@@ -41,7 +41,7 @@ class AbstractCsvParser {
41
virtual bool /* continue */ handleLine(const TStringList &) = 0;
42
void parseError(const std::string &msg);
43
44
- bool silent;
+ bool silent = false;
45
46
private:
47
struct Private;
0 commit comments