|
|
|
|
|
by karma_fountain
2248 days ago
|
|
Nice fix! It's been a while since I've done c++ so does the following code const auto elapsed = steady_clock::now() - start;
if (elapsed > 10s) {
actually use a units quantifier on the 10, i.e. does 10s mean 10 seconds? Is that a library thing? Cool if so. |
|