Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Feb 14, 2024
1 parent b647475 commit 1f78934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/stressTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ std::string getTimeElapsed(int64_t secs)
{
// Seconds per: year, day, hour, minute, second
Array<int64_t, 5> time = { 365 * 24 * 3600, 24 * 3600, 3600, 60, 1 };
Array<std::string, 5> suffix = { "y", "d", "h", "m", "s" };
Array<char, 5> suffix = { 'y', 'd', 'h', 'm', 's' };
std::string timeStr;

for (std::size_t i = 0; i < time.size(); i++)
Expand Down

0 comments on commit 1f78934

Please sign in to comment.