From 23a61968fbc1723c2ed19be1ebf9cf2502c0d2be Mon Sep 17 00:00:00 2001 From: xtof Date: Wed, 26 Jul 2023 01:40:20 +0200 Subject: [PATCH] coverage --- src/snl/snl/kernel/SNLInstance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/snl/snl/kernel/SNLInstance.cpp b/src/snl/snl/kernel/SNLInstance.cpp index 820322c9..3adbd16d 100644 --- a/src/snl/snl/kernel/SNLInstance.cpp +++ b/src/snl/snl/kernel/SNLInstance.cpp @@ -298,7 +298,6 @@ SNLID::DesignObjectReference SNLInstance::getReference() const { return SNLID::DesignObjectReference(getDesign()->getReference(), getID()); } - bool SNLInstance::isBlackBox() const { return getModel()->isBlackBox(); } @@ -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);