Add <cassert> header include
This fixes some Linux build failures.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <numeric>
|
||||
@@ -147,4 +148,4 @@ auto main() -> int
|
||||
|
||||
std::cerr << "No bingo!\n";
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <numeric>
|
||||
@@ -151,4 +152,4 @@ auto main() -> int
|
||||
std::cout << "\nBINGO " << score << " * " << *num << " = " << score * *num << '\n';
|
||||
cards[0].print(std::cout);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// Created by Matthew Gretton-Dann on 05/12/2021.
|
||||
//
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <numeric>
|
||||
@@ -69,4 +70,4 @@ auto main() -> int
|
||||
|
||||
std::cout << "Danger spots: " << danger_count << '\n';
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -219,4 +220,4 @@ auto main() -> int
|
||||
|
||||
std::cout << "Total: " << total << '\n';
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user