A better fix so that every type doesn't have to have its own operator=.

This fixes it in one place and allows many such helpers to be removed.
This commit is contained in:
JoelKatz
2012-08-19 22:47:59 -07:00
parent 6f5eb015bf
commit aa1f923306
3 changed files with 2 additions and 31 deletions

View File

@@ -463,14 +463,6 @@ std::string STPathSet::getText() const
}
#endif
STPathSet& STPathSet::operator=(const STPathSet& p)
{
if (name == NULL)
name = p.name;
value = p.value;
return *this;
}
void STPathSet::add(Serializer& s) const
{
bool bFirst = true;