[keel] Formatting fixes
This commit is contained in:
parent
1505d7ea37
commit
775efbddc8
@ -196,7 +196,7 @@ class AssetManager {
|
|||||||
return AssetRef<T>(out.value->get());
|
return AssetRef<T>(out.value->get());
|
||||||
}
|
}
|
||||||
|
|
||||||
ox::Result<AssetRef<T>> setAsset(ox::StringView const&assetId, const T &obj) noexcept {
|
ox::Result<AssetRef<T>> setAsset(ox::StringView const&assetId, T const&obj) noexcept {
|
||||||
auto &p = m_cache[assetId];
|
auto &p = m_cache[assetId];
|
||||||
if (!p) {
|
if (!p) {
|
||||||
p = ox::make_unique<AssetContainer<T>>(obj);
|
p = ox::make_unique<AssetContainer<T>>(obj);
|
||||||
|
@ -13,7 +13,7 @@ void registerModule(const Module *mod) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
const ox::Vector<const Module*> &modules() noexcept {
|
ox::Vector<const Module*> const&modules() noexcept {
|
||||||
return mods;
|
return mods;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,6 @@ class Module {
|
|||||||
void registerModule(const Module *mod) noexcept;
|
void registerModule(const Module *mod) noexcept;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
const ox::Vector<const keel::Module*> &modules() noexcept;
|
ox::Vector<const keel::Module*> const&modules() noexcept;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user