[studio] Cleanup

This commit is contained in:
Gary Talent 2025-01-24 00:02:59 -06:00
parent 7e3e046109
commit 7d53028faf
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
#pragma once #pragma once
#include <ox/event/signal.hpp> #include <ox/event/signal.hpp>
#include <ox/std/memory.hpp>
#include <studio/filetreemodel.hpp> #include <studio/filetreemodel.hpp>
#include <studio/widget.hpp> #include <studio/widget.hpp>

View File

@ -35,7 +35,7 @@ Project::Project(keel::Context &ctx, ox::String path, ox::StringViewCR projectDa
m_fs(*m_ctx.rom) { m_fs(*m_ctx.rom) {
oxTracef("studio", "Project: {}", m_path); oxTracef("studio", "Project: {}", m_path);
generateTypes(m_typeStore); generateTypes(m_typeStore);
if (ox::defines::Debug) { if constexpr(ox::defines::Debug) {
OX_THROW_ERROR(writeTypeStore()); OX_THROW_ERROR(writeTypeStore());
} }
buildFileIndex(); buildFileIndex();