mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
Improves delete attribute in VirtualMachine.cc
This commit is contained in:
1 parent
88e5294a2a
commit
bd7a2d8afb
1 file changed
+2
-1
@@ -73,8 +73,9 @@ VirtualMachineAttribute * VirtualMachineAttributeSet::remove_attribute(
|
||||
|
||||
if ( vma->is_flag(flag) == true )
|
||||
{
|
||||
tmp = vma;
|
||||
a_set.erase(it);
|
||||
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user