[olympic/studio] Make Project::romFS return a reference
This commit is contained in:
parent
5433fd9b1d
commit
a76638cc86
@ -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;
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user