Made code compatible with clang, ignored test dir in the IDE.

This commit is contained in:
Exynox 2022-11-27 01:06:00 +02:00
parent ecf8b71218
commit c8abacafaf
2 changed files with 6 additions and 1 deletions

5
.idea/misc.xml generated
View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="CidrRootsConfiguration">
<excludeRoots>
<file path="$PROJECT_DIR$/test" />
</excludeRoots>
</component>
</project> </project>

View File

@ -87,7 +87,7 @@ class SECTREE
template <class _Func> LPENTITY find_if (_Func & func) const template <class _Func> LPENTITY find_if (_Func & func) const
{ {
LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin(); auto it_tree = m_neighbor_list.begin();
while (it_tree != m_neighbor_list.end()) while (it_tree != m_neighbor_list.end())
{ {