@@ -1,29 +0,0 @@
1−--- a/libs/librepcb/common/fileio/serializableobjectlist.h
2−+++ b/libs/librepcb/common/fileio/serializableobjectlist.h
3−@@ -374,26 +374,6 @@
4− } // namespace librepcb
5−
6− /*****************************************************************************************
7−- * Prevent from using SerializableObjectList in a foreach loop because it always would
8−- * create a deep copy of the list! You should use C++11 range based for loops instead.
9−- ****************************************************************************************/
10−-
11−-#if (QT_VERSION > QT_VERSION_CHECK(5, 9, 0))
12−-#define QFOREACHCONTAINER_TEMPLATE QtPrivate::QForeachContainer
13−-#else
14−-#define QFOREACHCONTAINER_TEMPLATE QForeachContainer
15−-#endif
16−-
17−-template <typename T, typename P>
18−-class QFOREACHCONTAINER_TEMPLATE<librepcb::SerializableObjectList<T, P>> { public:
19−- ~QForeachContainer() = delete;
20−-};
21−-template <typename T, typename P>
22−-class QFOREACHCONTAINER_TEMPLATE<const librepcb::SerializableObjectList<T, P>> { public:
23−- ~QForeachContainer() = delete;
24−-};
25−-
26−-/*****************************************************************************************
27− * End of File
28− ****************************************************************************************/
29−