Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-09-27 14:48:50 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2022-09-27 14:53:53 +0300
commit15463a18f47b0b0aceec8e02e0f340183acca624 (patch)
treef790d8fec3d26c653501afb45b97dc01ee3a45c0
parent92846d216a4def803aa72a2f3db6f72f784f8d96 (diff)
Reduce 'std::chrono::duration' in dbug log to 'duration'work/log_duration
-rw-r--r--.github/workflows/.craft.ps12
-rw-r--r--src/common/utility.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/.craft.ps1 b/.github/workflows/.craft.ps1
index 14c85971a..0c09bde96 100644
--- a/.github/workflows/.craft.ps1
+++ b/.github/workflows/.craft.ps1
@@ -16,4 +16,4 @@ Write-Host "Exec: ${python} ${command}"
& $python @command
if ($LASTEXITCODE -ne 0) {
exit 1
-} \ No newline at end of file
+}
diff --git a/src/common/utility.cpp b/src/common/utility.cpp
index 7f9d486b6..09e63aaa7 100644
--- a/src/common/utility.cpp
+++ b/src/common/utility.cpp
@@ -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, "