Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
9092f229
Commit
9092f229
authored
Aug 06, 2014
by
Dibe Zackaria
Browse files
fix: remove auto
parent
e8abd6eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabase.cpp
View file @
9092f229
...
...
@@ -719,8 +719,8 @@ void CardDatabase::loadCardsFromXml(QXmlStreamReader &xml)
CardInfo
*
CardNameMap
::
findByPrefix
(
const
std
::
string
&
prefix
)
{
for
(
CardNameMap
::
iterator
it
=
this
->
begin
();
it
!=
this
->
end
();
++
it
)
{
auto
check
=
std
::
mismatch
(
prefix
.
begin
(),
prefix
.
end
(),
it
.
key
().
toStdString
().
begin
())
if
(
check
.
first
==
prefix
.
end
())
if
(
std
::
mismatch
(
prefix
.
begin
(),
prefix
.
end
(),
it
.
key
().
toStdString
().
begin
())
.
first
==
prefix
.
end
())
return
it
.
value
();
}
return
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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