data: Fixed data in headers being saved to Storage multiple times

This commit is contained in:
Eberhard Graether
2015-03-17 14:28:16 +01:00
parent 03cf9eeb5f
commit ba48731c8c
+1 -1
View File
@@ -82,7 +82,7 @@ void FileRegister::markIncludeFileParsing(const std::string& filePath)
void FileRegister::markParsingIncludeFilesParsed()
{
for (std::pair<FilePath, ParseState>&& p : m_includeFilePaths)
for (auto& p : m_includeFilePaths)
{
if (p.second == STATE_PARSING)
{