Whitespace changes to supress misleading indentation warnings

These appear in newer gcc when spaces and tabs are mixed
This commit is contained in:
Lukas Matena 2019-09-24 16:01:01 +02:00
parent b2e7081d31
commit 7861fa5086
24 changed files with 47 additions and 47 deletions

View file

@ -353,7 +353,7 @@ public:
bool apply_override(const ConfigOption *rhs) override {
if (this->nullable())
throw std::runtime_error("Cannot override a nullable ConfigOption.");
if (rhs->type() != this->type())
if (rhs->type() != this->type())
throw std::runtime_error("ConfigOptionVector.apply_override() applied to different types.");
auto rhs_vec = static_cast<const ConfigOptionVector<T>*>(rhs);
if (! rhs->nullable()) {
@ -461,7 +461,7 @@ public:
for (const double &v : this->values) {
if (&v != &this->values.front())
ss << ",";
serialize_single_value(ss, v);
serialize_single_value(ss, v);
}
return ss.str();
}
@ -607,7 +607,7 @@ public:
for (const int &v : this->values) {
if (&v != &this->values.front())
ss << ",";
serialize_single_value(ss, v);
serialize_single_value(ss, v);
}
return ss.str();
}