diff options
author | Michael Shields <mshields@google.com> | 2019-06-20 11:54:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 11:54:01 -0700 |
commit | 23dc75953839cb4e47c9d3624b7111ea4facb807 (patch) | |
tree | e6e81e8347b7b912ee9c8f038d7e59d79d7493a4 /absl/time | |
parent | 43ef2148c0936ebf7cb4be6b19927a9d9d145b8f (diff) |
Improve example AbslUnparseFlag().
1. Move default case outside switch. This is a good practice because it allows -Wswitch to warn about missing enum values.
2. Use absl::StrCat() instead of (nonexistent) SimpleItoa().
Diffstat (limited to 'absl/time')
0 files changed, 0 insertions, 0 deletions