diff options
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 36c5b1b..7133fbe 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -77,7 +77,7 @@ namespace QuickMedia { last_drawn_time = other.last_drawn_time; embedded_item_status = other.embedded_item_status; if(other.embedded_item) { - embedded_item = std::make_shared<BodyItem>(""); + embedded_item.reset(new BodyItem("")); *embedded_item = *other.embedded_item; } else { embedded_item = nullptr; |