OSDN Git Service

Fix Warning C26437 Do not slice (es.63).
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 5 Jan 2019 14:23:14 +0000 (23:23 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 5 Jan 2019 14:23:14 +0000 (23:23 +0900)
--HG--
branch : stable

Src/DiffList.cpp

index eb2f609..b477d76 100644 (file)
@@ -926,7 +926,7 @@ void DiffList::AppendDiffList(const DiffList& list, int offset[] /*= nullptr*/,
 {
        for (std::vector<DiffRangeInfo>::const_iterator it = list.m_diffs.begin(); it != list.m_diffs.end(); ++it)
        {
-               DIFFRANGE dr = *it;
+               DiffRangeInfo dr = *it;
                for (int file = 0; file < 3; ++file)
                {
                        if (offset != nullptr)