1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Improves delete attribute in VirtualMachine.cc

(cherry picked from commit 908bf6a560b8f9d34d2f7914ba24fb9232ce5d87)
This commit is contained in:
Ruben S. Montero 2019-03-06 16:59:59 +01:00
parent 58218bf5ef
commit a51ec1df1b

View File

@ -73,8 +73,9 @@ VirtualMachineAttribute * VirtualMachineAttributeSet::remove_attribute(
if ( vma->is_flag(flag) == true )
{
tmp = vma;
a_set.erase(it);
return vma;
}
}