From aa5beafd946a1a20f9e02c7eec9b3072eb87212e Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Fri, 13 Jul 2012 21:54:55 +0000 Subject: [PATCH] Wrap include path bug fix --- wrap/Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/Class.cpp b/wrap/Class.cpp index 7034ebb3a..2cb36386a 100644 --- a/wrap/Class.cpp +++ b/wrap/Class.cpp @@ -269,7 +269,7 @@ Class expandClassTemplate(const Class& cls, const string& templateArg, const vec inst.namespaces = cls.namespaces; inst.using_namespaces = cls.using_namespaces; bool allIncludesEmpty = true; - BOOST_FOREACH(const string& inc, cls.includes) { if(!inc.empty()) { allIncludesEmpty = true; break; } } + BOOST_FOREACH(const string& inc, cls.includes) { if(!inc.empty()) { allIncludesEmpty = false; break; } } if(allIncludesEmpty) inst.includes.push_back(cls.name + ".h"); else