Skip to content

Check for manager existence prior to access

T.J. Corona requested to merge tjcorona/smtk:guard-const-typecontainer into master

When a const instance of smtk::common::TypeContainer is accessed, its get() method will throw if the type is not present in the container. To avoid this, we check for the existence of the type prior to accessing it when we have a const TypeContainer.

Merge request reports

Loading