Skip to content

Commit dde0a7a

Browse files
committed
Minor modification.
1 parent b2f932f commit dde0a7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/NodeEngineTest/ValueTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AValue : public GenericValue<A>
5757

5858
virtual ValuePtr Clone () const override
5959
{
60-
return ValuePtr (new AValue (val));
60+
return std::make_shared<AValue> (val);
6161
}
6262

6363
virtual std::wstring ToString (const StringConverter&) const override

0 commit comments

Comments
 (0)