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

UpperCaseValidator: add missing header #457

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

stkw0
Copy link
Contributor

@stkw0 stkw0 commented May 7, 2024

While compiling with the experimental GCC 14 LMS fails to build with the next error

/var/tmp/portage/media-sound/lms-3.53.0/work/lms-3.53.0/src/lms/ui/common/UppercaseValidator.cpp: In member function ‘virtual Wt::WValidator::Result lms::ui::UppercaseValidator::validate(const Wt::WString&) const’:
/var/tmp/portage/media-sound/lms-3.53.0/work/lms-3.53.0/src/lms/ui/common/UppercaseValidator.cpp:40:32: error: ‘all_of’ is not a member of ‘std’
40 | const bool valid{ std::all_of(std::cbegin(str), std::cend(str), [&](char c) { return !std::isalpha(c) || std::isupper(c);}) };
| ^~~~~~

The issue seems a missing header file. This patch should fix it

@epoupon epoupon merged commit 1c440ba into epoupon:develop May 7, 2024
8 checks passed
@epoupon epoupon added this to the v3.54.0 milestone Jun 8, 2024
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