]> git.lyx.org Git - lyx.git/blobdiff - src/support/foreach.h
Fix crash on recursive include (bug #8994)
[lyx.git] / src / support / foreach.h
index 60841831819a378f0134570eb28185d5eb1da811..a1b5b9e064eda435ef04382870f08491dd543b0b 100644 (file)
@@ -51,7 +51,7 @@ struct ForeachContainerBase {};
 template <typename T>
 class ForeachContainer : public ForeachContainerBase {
 public:
-    inline ForeachContainer(const T& t): c(t), brk(0), i(c.begin()), e(c.end()){};
+    inline ForeachContainer(const T& t): c(t), brk(0), i(c.begin()), e(c.end()){}
     const T & c;
     mutable int brk;
     mutable typename T::const_iterator i, e;