mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-12 22:45:02 -04:00
persister cleanup (still broke but logic is there for when it isn't); also replace all the SOE BS for forwarding stl port with native object classes because i thought that may be part of the problem...
This commit is contained in:
@@ -1761,7 +1761,7 @@ ParameterList::const_iterator iter;
|
||||
param.name.c_str());
|
||||
break;
|
||||
case LIST_LIST:
|
||||
fp.print("\t%sstdvector<%s *>::fwd %s%s;", extraTab.c_str(),
|
||||
fp.print("\t%sstd::vector<%s *> %s%s;", extraTab.c_str(),
|
||||
variableNames[param.type], namePrefix,
|
||||
param.name.c_str());
|
||||
break;
|
||||
@@ -1873,14 +1873,14 @@ ParameterList::const_iterator iter;
|
||||
fp.print(";\n");
|
||||
break;
|
||||
case LIST_LIST:
|
||||
fp.print("\t\tstdvector<");
|
||||
fp.print("\t\tstd::vector<");
|
||||
if (UnpaddedDataStructNames[param.type] != nullptr)
|
||||
fp.print("%s", UnpaddedDataStructNames[param.type]);
|
||||
else if (param.type == TYPE_ENUM)
|
||||
fp.print("enum %s", param.extendedName.c_str());
|
||||
else if (param.type == TYPE_STRUCT)
|
||||
fp.print("%s", param.extendedName.c_str());
|
||||
fp.print(">::fwd %s;\n", param.name.c_str());
|
||||
fp.print("> %s;\n", param.name.c_str());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -174,7 +174,7 @@ private:
|
||||
TemplateData & operator =(const TemplateData &);
|
||||
|
||||
// access functions
|
||||
void getTemplateNames(stdset<std::string>::fwd &names) const;
|
||||
void getTemplateNames(std::set<std::string> &names) const;
|
||||
const TemplateDefinitionFile * getFileParent(void) const;
|
||||
|
||||
// template definition parsing functions
|
||||
|
||||
Reference in New Issue
Block a user