commit | 1d50a5be75721e46a4df9f927f2b773d42501c97 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Feb 03 16:44:22 2020 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Feb 03 18:08:41 2020 +0100 |
tree | ed06b14f35b274ccb2b955aa90f7c1c6617217ed | |
parent | caa6cb1864a8b0646ebb68786214962f2c5b42db [diff] [blame] |
NetconfAccess: reuse netconf libyang context Change-Id: Ib8d4b35ddd0ecc24e9ff4066e10eaf71eb175bee
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp index 999f33a..ddd6f37 100644 --- a/src/yang_schema.cpp +++ b/src/yang_schema.cpp
@@ -58,6 +58,12 @@ { } +YangSchema::YangSchema(std::shared_ptr<libyang::Context> lyCtx) + : m_context(lyCtx) +{ + +} + YangSchema::~YangSchema() = default; void YangSchema::addSchemaString(const char* schema)