mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 07:30:21 +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…
x
Reference in New Issue
Block a user