mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #-: Document constructor, use move
This commit is contained in:
parent
728142e205
commit
5ef05b1b7a
@ -36,7 +36,7 @@ Document::Document( int id,
|
||||
{
|
||||
if (_template_contents)
|
||||
{
|
||||
obj_template = make_unique<DocumentTemplate>(*_template_contents);
|
||||
obj_template = move(_template_contents);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user