[olympic/studio] Make Project::romFS return a reference

This commit is contained in:
Gary Talent 2024-01-17 22:08:22 -06:00
parent 5433fd9b1d
commit a76638cc86
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ class Project {
ox::String const&projectPath() const noexcept;
[[nodiscard]]
ox::FileSystem *romFs() noexcept;
ox::FileSystem &romFs() noexcept;
ox::Error mkdir(ox::CRStringView path) const noexcept;

View File

@ -51,8 +51,8 @@ ox::String const&Project::projectPath() const noexcept {
return m_path;
}
ox::FileSystem *Project::romFs() noexcept {
return &m_fs;
ox::FileSystem &Project::romFs() noexcept {
return m_fs;
}
ox::Error Project::mkdir(ox::CRStringView path) const noexcept {