[keel,studio,turbine] Finish removing implicit String(const char*) calls

This commit is contained in:
2023-12-01 22:44:24 -06:00
parent 1a1c8ae6cc
commit 9904399724
7 changed files with 10 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ using PackTransform = ox::Error(*)(Context&, ox::Buffer &clawData);
class Context {
public:
ox::UPtr<ox::FileSystem> rom;
ox::BasicString<32> appName = "Keel App";
ox::BasicString<32> appName{"Keel App"};
#ifndef OX_BARE_METAL
AssetManager assetManager;
ox::HashMap<ox::String, ox::UUID> pathToUuid;

View File

@@ -9,7 +9,7 @@
#include <keel/keel.hpp>
static std::map<ox::String, ox::Error(*)()> tests = {
static std::map<ox::StringView, ox::Error(*)()> tests = {
{
"writeUuidHeader",
[]() -> ox::Error {

View File

@@ -6,7 +6,7 @@
namespace keel {
TypeStore::TypeStore(ox::FileSystem &fs, ox::String descPath) noexcept:
TypeStore::TypeStore(ox::FileSystem &fs, ox::StringView descPath) noexcept:
m_fs(fs),
m_descPath(std::move(descPath)) {
}

View File

@@ -16,7 +16,7 @@ class TypeStore: public ox::TypeStore {
ox::String m_descPath;
public:
explicit TypeStore(ox::FileSystem &fs, ox::String descPath) noexcept;
explicit TypeStore(ox::FileSystem &fs, ox::StringView descPath) noexcept;
protected:
ox::Result<ox::UniquePtr<ox::DescriptorType>> loadDescriptor(ox::CRStringView typeId) noexcept override;