commit | 6a8d1d914914aad6a381ac3449d906b1521d8e28 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Apr 24 20:30:36 2019 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Wed Oct 09 21:07:31 2019 +0200 |
tree | 7683db52f4a24bf9716cdcdd9bc09f9a06753034 | |
parent | 3efb5ca395c6274e78dab13256850e4d46c89a92 [diff] [blame] |
Add support for leafrefs Change-Id: I2286aaa96abd960d13bb0b04a778fb264b2f74a4
diff --git a/src/utils.cpp b/src/utils.cpp index d06d35b..979bda4 100644 --- a/src/utils.cpp +++ b/src/utils.cpp
@@ -62,6 +62,8 @@ return "an enum"; case yang::LeafDataTypes::IdentityRef: return "an identity"; + case yang::LeafDataTypes::LeafRef: + return "a leafref"; default: throw std::runtime_error("leafDataTypeToString: unsupported leaf data type"); }