modernize C++: make unique

This commit is contained in:
wmayer
2023-08-07 20:01:45 +02:00
committed by Chris Hennes
parent c2e17824fa
commit ec73caa40e
30 changed files with 134 additions and 124 deletions

View File

@@ -675,7 +675,7 @@ void Sheet::updateProperty(CellAddress key)
std::string s;
if (cell->getStringContent(s) && !s.empty())
output.reset(new StringExpression(this, s));
output = std::make_unique<StringExpression>(this, s);
else {
this->removeDynamicProperty(key.toString().c_str());
return;