Fix usages of constexpr (#367)

* Fix usages of constexpr
This commit is contained in:
János Benjamin Antal
2022-03-31 13:52:43 +02:00
committed by GitHub
parent 5822b44b15
commit 537855a0b2
75 changed files with 372 additions and 365 deletions

View File

@@ -37,7 +37,7 @@ void test_lock() {
}
int main() {
constexpr int N = 16;
static constexpr int N = 16;
std::vector<std::thread> threads;
for (int i = 0; i < N; ++i) threads.push_back(std::thread(test_lock));