11
Help / Re: The tabs close when you save a file.
« Last post by blauzahn on August 12, 2026, 06:43:09 am »A quick glance into projectloader.cpp function UpdateGlob shows a range for-loop with a temporary a few lines above line 1143:
This has been fixed in C++23 (see: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2644r1.pdf).
In the meantime I recommend to put the file list into a local variable like that:
It may not be the reason for this issue but should be fixed anyway.
Code
// First search for valid project files (glob id) and also for project files we have to remove
for (ProjectFile* file : m_pProject->GetFilesList())
This has been fixed in C++23 (see: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2644r1.pdf).
In the meantime I recommend to put the file list into a local variable like that:
Code
// First search for valid project files (glob id) and also for project files we have to remove
const auto& files = m_pProject->GetFilesList();
for (ProjectFile* file : files)
It may not be the reason for this issue but should be fixed anyway.
Recent Posts