Commit ab9c0b39 authored by Eric Cano's avatar Eric Cano
Browse files

Removed leftover code.

parent 45ec2558
......@@ -156,19 +156,6 @@ void cta::objectstore::Agent::addToOwnership(std::string name) {
void cta::objectstore::Agent::removeFromOwnership(std::string name) {
checkPayloadWritable();
serializers::removeString(m_payload.mutable_ownedobjects(), name);
/*
bool found;
do {
found = false;
for (int i=0; i<m_payload.mutable_ownedobjects()->size(); i++) {
if (name == *m_payload.mutable_ownedobjects(i)) {
found = true;
m_payload.mutable_ownedobjects()->SwapElements(i, m_payload.mutable_ownedobjects()->size()-1);
m_payload.mutable_ownedobjects()->RemoveLast();
break;
}
}
} while (found);*/
}
std::list<std::string>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment