[keel] Make Context::appName a BasicString<32> to generally avoid allocations while ensuring that Context owns a copy
This commit is contained in:
parent
0fc7e7005c
commit
a37df08c19
@ -6,7 +6,6 @@
|
||||
|
||||
#include <ox/fs/fs.hpp>
|
||||
#include <ox/std/memory.hpp>
|
||||
#include <ox/std/stringview.hpp>
|
||||
|
||||
#include "assetmanager.hpp"
|
||||
|
||||
@ -18,7 +17,7 @@ using PackTransform = ox::Error(*)(Context*, ox::Buffer *clawData);
|
||||
class Context {
|
||||
public:
|
||||
ox::UPtr<ox::FileSystem> rom;
|
||||
ox::StringView appName = "Keel App";
|
||||
ox::BasicString<32> appName = "Keel App";
|
||||
#ifndef OX_BARE_METAL
|
||||
AssetManager assetManager;
|
||||
ox::HashMap<ox::String, ox::UUID> pathToUuid;
|
||||
|
Loading…
Reference in New Issue
Block a user