1
0
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:
Ruben S. Montero 2020-10-13 14:11:37 +02:00
parent 728142e205
commit 5ef05b1b7a
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -36,7 +36,7 @@ Document::Document( int id,
{
if (_template_contents)
{
obj_template = make_unique<DocumentTemplate>(*_template_contents);
obj_template = move(_template_contents);
}
else
{