Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Stella
Commits
d2f42d26
Commit
d2f42d26
authored
Jan 08, 2021
by
thrust26
Browse files
Revert "Fix for suggestion from clang-tidy."
This reverts commit
9bd2f3e4
.
parent
f3364379
Pipeline
#9675
passed with stages
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/common/bspf.hxx
View file @
d2f42d26
...
...
@@ -244,7 +244,7 @@ namespace BSPF
// starting from 'startpos' in the first string
static
size_t
findIgnoreCase
(
string_view
s1
,
string_view
s2
,
size_t
startpos
=
0
)
{
const
auto
*
pos
=
std
::
search
(
s1
.
cbegin
()
+
startpos
,
s1
.
cend
(),
auto
pos
=
std
::
search
(
s1
.
cbegin
()
+
startpos
,
s1
.
cend
(),
s2
.
cbegin
(),
s2
.
cend
(),
[](
char
ch1
,
char
ch2
)
{
return
toupper
(
uInt8
(
ch1
))
==
toupper
(
uInt8
(
ch2
));
});
...
...
Write
Preview
Markdown
is supported
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