Skip to content

Commit

Permalink
Reduce 'std::chrono::duration' in dbug log to 'duration'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Sep 27, 2022
1 parent 92846d2 commit 15463a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/.craft.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Write-Host "Exec: ${python} ${command}"
& $python @command
if ($LASTEXITCODE -ne 0) {
exit 1
}
}
2 changes: 1 addition & 1 deletion src/common/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ QDebug &operator<<(QDebug &debug, nanoseconds in)
const auto min = duration_cast<minutes>(in -= h);
const auto s = duration_cast<seconds>(in -= min);
const auto ms = duration_cast<milliseconds>(in -= s);
return debug << "std::chrono::duration("
return debug << "duration("
<< h.count() << "h, "
<< min.count() << "min, "
<< s.count() << "s, "
Expand Down

0 comments on commit 15463a1

Please sign in to comment.