Add leafrefBaseType(const std::string&)
Will be useful in the upcoming describe command.
Change-Id: I180b0a3c87db8e856251e28f34aa3940c52d1ad0
diff --git a/src/static_schema.cpp b/src/static_schema.cpp
index afbb018..14b5666 100644
--- a/src/static_schema.cpp
+++ b/src/static_schema.cpp
@@ -290,3 +290,8 @@
{
throw std::runtime_error{"Internal error: StaticSchema::nodeType(std::string) not implemented. The tests should not have called this overload."};
}
+
+yang::LeafDataTypes StaticSchema::leafrefBaseType([[maybe_unused]] const std::string& path) const
+{
+ throw std::runtime_error{"Internal error: StaticSchema::leafrefBaseType(std::string) not implemented. The tests should not have called this overload."};
+}