Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(clock): crash on scrolling with local timezone ("") in the list #2940

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

alebastr
Copy link
Contributor

tz_up/tz_down actions would crash on nullptr in the timezone list after 392f83e.

Since I had to look at the clock code anyways, I also fixed a warning about a reserved name for UDL (-Wliteral-suffix).

While we at it, eliminate use of non-portable GCC conditional expression
syntax. There are no significant side-effects that would justify use of
the language extension.
```
../include/util/date.hpp:34:26: warning: literal operator suffixes not preceded by ‘_’ are reserved for future standardization [-Wliteral-suffix]
   34 | constexpr decltype(auto) operator""d(unsigned long long d) noexcept {
```
@Alexays Alexays merged commit 536933c into Alexays:master Feb 20, 2024
9 of 10 checks passed
@alebastr alebastr deleted the clock branch February 20, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants