Skip to content
Snippets Groups Projects
Commit 2ecc7eef authored by Alexander Beischl's avatar Alexander Beischl
Browse files

Fix not necessary for loop.

parent 9fc67236
No related branches found
No related tags found
No related merge requests found
...@@ -19,13 +19,10 @@ int64_t sum_extendedprice(const std::string& file_name) { ...@@ -19,13 +19,10 @@ int64_t sum_extendedprice(const std::string& file_name) {
int64_t price_sum = 0; int64_t price_sum = 0;
uint64_t field_number = 0; uint64_t field_number = 0;
for (auto row : lineitem) { for (auto row : lineitem) {
for (const auto& field : row) { //-- TODO exercise sheet 2 Task 4.2
//-- TODO exercise 2.5 // your code goes here
// your code goes here //--
//--
}
} }
return price_sum; return price_sum;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment