commit | 379bb57e39eb351d418578e43df3a2fa766e04e1 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu May 07 03:23:13 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri May 15 00:20:54 2020 +0200 |
tree | 9a1de9dbcf862867c135a4d2887fe35c378020eb | |
parent | 689854493eff8ead74702667ac7361b67e182a1c [diff] [blame] |
Add support for `empty` YANG leaf type Change-Id: I87eafae9df9accdaa4579ace769996e70da6cb1c
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp index 96fc744..6021cc5 100644 --- a/src/yang_schema.cpp +++ b/src/yang_schema.cpp
@@ -246,6 +246,9 @@ case LY_TYPE_BINARY: resType.emplace<yang::Binary>(); break; + case LY_TYPE_EMPTY: + resType.emplace<yang::Empty>(); + break; case LY_TYPE_ENUM: resType.emplace<yang::Enum>(enumValues(type)); break;