Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
xtofalex committed Jul 25, 2023
1 parent 49db632 commit 23a6196
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/snl/snl/kernel/SNLInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ SNLID::DesignObjectReference SNLInstance::getReference() const {
return SNLID::DesignObjectReference(getDesign()->getReference(), getID());
}


bool SNLInstance::isBlackBox() const {
return getModel()->isBlackBox();
}
Expand Down Expand Up @@ -357,12 +356,14 @@ void SNLInstance::addSharedPath(SNLSharedPath* sharedPath) {
sharedPaths_[sharedPath->getHeadSharedPath()] = sharedPath;
}

#if 0
void SNLInstance::removeSharedPath(SNLSharedPath* sharedPath) {
auto it = sharedPaths_.find(sharedPath->getHeadSharedPath());
if (it != sharedPaths_.end()) {
sharedPaths_.erase(it);
}
}
#endif

void SNLInstance::addInstParameter(SNLInstParameter* instParameter) {
instParameters_.insert(*instParameter);
Expand Down

0 comments on commit 23a6196

Please sign in to comment.