+ std::chrono::nanoseconds result = (timestamp - startTime) / 1000000;
shouldn't the result be in std::chrono::milliseconds? chrono does implicit conversion between nano & milliseconds, should be able to use that instead of the explicit division.
Your editor does something odd to the file line endings, can you undo that?
+ std::chrono: :nanoseconds result = (timestamp - startTime) / 1000000; :milliseconds? chrono does implicit conversion between nano & milliseconds, should be able to use that instead of the explicit division.
shouldn't the result be in std::chrono:
Your editor does something odd to the file line endings, can you undo that?
I'll let Daniel or Nick review the principle