[keel] Formatting fixes

This commit is contained in:
Gary Talent 2023-12-03 23:45:48 -06:00
parent 1505d7ea37
commit 775efbddc8
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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