mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user