Skip to content

Commit

Permalink
Merge pull request #111 from Laupetin/fix/indirect-asset-reference-no…
Browse files Browse the repository at this point in the history
…n-lowercase

fix: indirect asset references may not be fully lower case
  • Loading branch information
Laupetin authored Feb 8, 2024
2 parents d2827e5 + a3dfb9e commit bab0329
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ZoneCommon/Pool/XAssetInfo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "XAssetInfo.h"

#include "Utils/StringUtils.h"

IndirectAssetReference::IndirectAssetReference()
: m_type(-1)
{
Expand All @@ -9,6 +11,7 @@ IndirectAssetReference::IndirectAssetReference(const asset_type_t type, std::str
: m_type(type),
m_name(std::move(name))
{
utils::MakeStringLowerCase(m_name);
}

bool operator==(const IndirectAssetReference& lhs, const IndirectAssetReference& rhs)
Expand Down

0 comments on commit bab0329

Please sign in to comment.