mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix the bug causing 'Paths' not to have a name. The implicit 'operator='
function obliterated the name.
This commit is contained in:
@@ -463,6 +463,14 @@ 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