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:
parent
e7a9ae18a1
commit
1c2ea0d7fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user