1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

unique_ptr makes more sense here.

This commit is contained in:
Thomas Harte 2021-04-24 23:19:30 -04:00
parent e7a9ae18a1
commit 1c2ea0d7fe

View File

@ -59,7 +59,7 @@ struct Target {
virtual ~Target() {}
// This field is entirely optional.
std::shared_ptr<Reflection::Struct> state;
std::unique_ptr<Reflection::Struct> state;
Machine machine;
Media media;