Skip to content

Commit

Permalink
VC2015 build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Mar 4, 2016
1 parent daa77bd commit b8b0661
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 04.03.2016 22:12:43 +0200 - build 4570
drkns 04.03.2016 22:49:36 +0200 - build 4571

1. VC2015 build fix.

drkns 04.03.2016 22:12:43 +0200 - build 4570

1. Немного переделана работа с описаниями - теперь в файлы должно вноситься меньше изменений при обновлении.

Expand Down
2 changes: 1 addition & 1 deletion far/dizlist.cpp
Expand Up @@ -157,7 +157,7 @@ void DizList::Read(const string& Path, const string* DizName)
// Insert unconditionally
LastAdded = Insert(string(NameBegin, NameEnd));
// TODO: direct emplace_back after decommissioning VC10
LastAdded->second.emplace_back(string(DescBegin, DizText.end()));
LastAdded->second.emplace_back(string(DescBegin, DizText.cend()));
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4570)m4_dnl
m4_define(BUILD,4571)m4_dnl

0 comments on commit b8b0661

Please sign in to comment.