Create constructor methods starting with 'new' instead of 'create'.

This commit is contained in:
Ghislain MARY 2013-10-08 12:46:49 +02:00
parent 5a92742e56
commit 3573ab67d3

View file

@ -240,8 +240,12 @@ private:
}
}
}
if (mPropertyBehaviour==None)
if (mPropertyBehaviour==None) {
mPropertyName="";
if (mName.find("create")==0) {
mName="new"+mName.substr(6,string::npos);
}
}
}
string mUid;
Argument *mReturn;