[keel,nostalgia/tools,studio] Convert some pointers to references
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace studio {
|
||||
|
||||
static void generateTypes(ox::TypeStore *ts) noexcept {
|
||||
static void generateTypes(ox::TypeStore &ts) noexcept {
|
||||
for (const auto mod : keel::modules()) {
|
||||
for (auto gen : mod->types()) {
|
||||
oxLogError(gen(ts));
|
||||
@@ -28,7 +28,7 @@ Project::Project(keel::Context &ctx, ox::String path, ox::CRStringView projectDa
|
||||
m_typeStore(*m_ctx.rom, ox::sfmt("/.{}/type_descriptors", projectDataDir)),
|
||||
m_fs(*m_ctx.rom) {
|
||||
oxTracef("studio", "Project: {}", m_path);
|
||||
generateTypes(&m_typeStore);
|
||||
generateTypes(m_typeStore);
|
||||
buildFileIndex();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user