Remove unneeded explicit conversion
This commit is contained in:
parent
57ef592f57
commit
f2c0ee62ce
|
@ -249,7 +249,7 @@ void Buffer::reload(StringView data, timespec fs_timestamp)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto diff = find_diff(m_lines.begin(), m_lines.size(),
|
auto diff = find_diff(m_lines.begin(), m_lines.size(),
|
||||||
parsed_lines.lines.begin(), (int)parsed_lines.lines.size(),
|
parsed_lines.lines.begin(), parsed_lines.lines.size(),
|
||||||
[](const StringDataPtr& lhs, const StringDataPtr& rhs)
|
[](const StringDataPtr& lhs, const StringDataPtr& rhs)
|
||||||
{ return lhs->strview() == rhs->strview(); });
|
{ return lhs->strview() == rhs->strview(); });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user