Commit 3573ab67 authored by Ghislain MARY's avatar Ghislain MARY

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

parent 5a92742e
...@@ -240,8 +240,12 @@ private: ...@@ -240,8 +240,12 @@ private:
} }
} }
} }
if (mPropertyBehaviour==None) if (mPropertyBehaviour==None) {
mPropertyName=""; mPropertyName="";
if (mName.find("create")==0) {
mName="new"+mName.substr(6,string::npos);
}
}
} }
string mUid; string mUid;
Argument *mReturn; Argument *mReturn;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment