Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
KPublicTransport
Commits
bf97a4c1
Commit
bf97a4c1
authored
Sep 03, 2021
by
Volker Krause
Browse files
Fix build with clang
parent
3c68d72c
Pipeline
#78262
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/gbfs/gbfsbackend.cpp
View file @
bf97a4c1
...
...
@@ -90,7 +90,7 @@ static RentalVehicle::VehicleType gbfs2kptVehicleType(const GBFSVehicleType &veh
// we get some address values just being " , "...
static
QString
cleanAddress
(
const
QString
&
input
)
{
if
(
std
::
any_of
(
input
.
begin
(),
input
.
end
(),
std
::
mem_fn
(
&
QChar
::
isLetter
)))
{
if
(
std
::
any_of
(
input
.
begin
(),
input
.
end
(),
std
::
mem_fn
(
qOverload
<>
(
&
QChar
::
isLetter
)))
)
{
return
input
;
}
return
{};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment