[keel,nostalgia/tools,studio] Convert some pointers to references

This commit is contained in:
2023-12-03 22:48:30 -06:00
parent 26a2d340d6
commit 1505d7ea37
8 changed files with 29 additions and 29 deletions

View File

@@ -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();
}