Fixed formatting

This commit is contained in:
Bartek Kryza
2022-06-18 17:56:26 +02:00
parent 87d381f52a
commit 01a93211bb
3 changed files with 20 additions and 12 deletions

View File

@@ -217,8 +217,8 @@ void get_option<clanguml::common::model::namespace_>(const Node &node,
if (node[option.name].Type() == NodeType::Scalar)
option.set({node[option.name].template as<std::string>()});
else if (node[option.name].Type() == NodeType::Sequence)
option.set({
node[option.name].template as<std::vector<std::string>>()[0]});
option.set(
{node[option.name].template as<std::vector<std::string>>()[0]});
else
throw std::runtime_error("Invalid using_namespace value");
}