Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Conversation

@aesophor
Copy link
Contributor

Since the value of LogCleaner::overdue_days_ should be >= 0,
we can simply make it an unsigned int which also avoids
unnecessary assertions.

Signed-off-by: Marco Wang <[email protected]>

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2021

Codecov Report

Merging #760 (168b371) into master (baa7006) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #760      +/-   ##
==========================================
- Coverage   73.02%   73.01%   -0.01%     
==========================================
  Files          17       17              
  Lines        3218     3217       -1     
==========================================
- Hits         2350     2349       -1     
  Misses        868      868              
Impacted Files Coverage Δ
src/glog/logging.h.in 83.13% <ø> (ø)
src/logging.cc 73.86% <100.00%> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update baa7006...168b371. Read the comment docs.

Since the value of `LogCleaner::overdue_days_` should be >= 0,
we can simply make it an unsigned int which also avoids
unnecessary assertions.

Signed-off-by: Marco Wang <[email protected]>
@sergiud sergiud added this to the 0.6 milestone Dec 13, 2021
@sergiud
Copy link
Contributor

sergiud commented Dec 13, 2021

Thanks!

@sergiud sergiud merged commit d09b999 into google:master Dec 13, 2021
@aesophor aesophor deleted the refactor-1 branch December 13, 2021 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants