mirror of https://github.com/AxioDL/metaforce.git
CAudioSys: Convert file-scope std::string into a constexpr string_view.
Eliminates a static constructor that needs to run at program start.
This commit is contained in:
parent
dea89e7664
commit
9af64d3895
|
@ -6,7 +6,7 @@ namespace urde {
|
|||
namespace {
|
||||
std::unordered_map<std::string, TLockedToken<CAudioGroupSet>> mpGroupSetDB;
|
||||
std::unordered_map<CAssetId, std::string> mpGroupSetResNameDB;
|
||||
const std::string mpDefaultInvalidString = "NULL";
|
||||
constexpr std::string_view mpDefaultInvalidString = "NULL";
|
||||
|
||||
float s_MasterVol = 1.f;
|
||||
float s_SfxVol = 1.f;
|
||||
|
|
Loading…
Reference in New Issue