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
Utilities
Kate
Commits
e3afb5d9
Commit
e3afb5d9
authored
Jan 14, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Jan 13, 2021
Browse files
Use erase instead of remove
parent
09529746
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientpluginview.cpp
View file @
e3afb5d9
...
...
@@ -265,7 +265,7 @@ private:
auto
it
=
ranges
.
find
(
doc
);
if
(
it
!=
ranges
.
end
())
{
delete
*
it
;
ranges
.
remove
(
doc
);
ranges
.
erase
(
it
);
}
}
}
...
...
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