summaryrefslogtreecommitdiff
path: root/ambd/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ambd/core.cpp')
-rw-r--r--ambd/core.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/ambd/core.cpp b/ambd/core.cpp
index 02e4a08e..419c078e 100644
--- a/ambd/core.cpp
+++ b/ambd/core.cpp
@@ -166,26 +166,14 @@ void Core::updateProperty(AbstractPropertyType *value, const string & uuid)
updateProperty(value);
else if(value->priority == AbstractPropertyType::High)
{
- value->destroyed.push_back([this](AbstractPropertyType* v)
- {
- updatePropertyQueueHigh.remove(v);
- });
updatePropertyQueueHigh.append(value);
}
else if(value->priority == AbstractPropertyType::Normal)
{
- value->destroyed.push_back([this](AbstractPropertyType* v)
- {
- updatePropertyQueue.remove(v);
- });
updatePropertyQueue.append(value);
}
else if(value->priority == AbstractPropertyType::Low)
{
- value->destroyed.push_back([this](AbstractPropertyType* v)
- {
- updatePropertyQueueLow.remove(v);
- });
updatePropertyQueueLow.append(value);
}
}