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:
parent
58218bf5ef
commit
a51ec1df1b
@ -73,8 +73,9 @@ VirtualMachineAttribute * VirtualMachineAttributeSet::remove_attribute(
|
||||
|
||||
if ( vma->is_flag(flag) == true )
|
||||
{
|
||||
tmp = vma;
|
||||
a_set.erase(it);
|
||||
|
||||
return vma;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user