fix errors while building default root

This commit is contained in:
falsycat 2022-11-15 15:28:41 +09:00
parent 3c67497229
commit 77ac2e95c0

View File

@ -21,12 +21,12 @@ inline std::unique_ptr<nf7::File> CreateRoot(nf7::Env& env) noexcept {
auto& node = Add(root, "node", "System/Dir").interfaceOrThrow<nf7::Dir>();
{
auto& codec = Add(node, "codec", "System/Node").interfaceOrThrow<nf7::Dir>();
auto& codec = Add(node, "codec", "System/Dir").interfaceOrThrow<nf7::Dir>();
{
Add(codec, "stbimage", "Codec/StbImage");
}
auto& system = Add(node, "system", "System/Node").interfaceOrThrow<nf7::Dir>();
auto& system = Add(node, "system", "System/Dir").interfaceOrThrow<nf7::Dir>();
{
Add(system, "save", "System/Node/Save");
Add(system, "exit", "System/Node/Exit");