Wrap include path bug fix

release/4.3a0
Richard Roberts 2012-07-13 21:54:55 +00:00
parent 191d73df0b
commit aa5beafd94
1 changed files with 1 additions and 1 deletions

View File

@ -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