correctly read entire vector

This commit is contained in:
Axel Kohlmeyer
2020-08-09 01:27:56 -04:00
parent 62a501ebda
commit 88f89c8f14

View File

@ -317,8 +317,6 @@ void TestConfigReader::global_vector(const yaml_event_t &event)
data >> num; data >> num;
for (std::size_t i = 0; i < num; ++i) { for (std::size_t i = 0; i < num; ++i) {
data >> value; data >> value;
if (data.eof()) break;
config.global_vector.push_back(value); config.global_vector.push_back(value);
} }
} }