fix errors while building default root
This commit is contained in:
parent
3c67497229
commit
77ac2e95c0
4
init.hh
4
init.hh
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user