Commit 05ef0a24 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot

Merge topic 'quiet-link-resolve'

00a77379 ReferenceItem: use quiet method to resolve self-links
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: David Thompson's avatarDavid Thompson <>
Merge-request: !1584
parents 9c3fa502 00a77379
Pipeline #138921 running with stage
......@@ -551,6 +551,7 @@ bool ReferenceItem::has(PersistentObjectPtr entity) const
ReferenceItem::const_iterator ReferenceItem::begin() const
const_iterator it = const_iterator();
ReferenceItem::Cache::const_iterator begin = m_cache->begin();
*(it.m_cacheIterator) = begin;
......@@ -641,8 +642,7 @@ smtk::resource::PersistentObjectPtr ReferenceItem::objectValue(const ReferenceIt
// is held by the same resource as this ReferenceItem. There's no need for
// resource management in this event.
else if (!key.first.isNull() &&
return this->attribute()->links().linkedObject(key);
Markdown is supported
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