Skip to content

Commit

Permalink
revert to error message but with funcsig
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilDohne committed Feb 14, 2025
1 parent 812554a commit 10c862f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PhotoshopAPI/src/Core/Endian/EndianByteSwap.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PSAPI_NAMESPACE_BEGIN
template<typename T>
T endianDecodeBE(const uint8_t* src)
{
static_assert(false, "No Byte Swap defined for the given type: " PSAPI_FUNCSIG);
PSAPI_LOG_ERROR("Endian", "No Byte Swap defined for the given type: %s", PSAPI_FUNCSIG);
return T{};
};

Expand Down Expand Up @@ -171,7 +171,7 @@ inline float64_t endianDecodeBE<float64_t>(const uint8_t* src)
template<typename T>
T endianEncodeBE([[maybe_unused]] const T src)
{
static_assert(false, "No Byte Swap defined for the given type: " PSAPI_FUNCSIG);
PSAPI_LOG_ERROR("Endian", "No Byte Swap defined for the given type: %s", PSAPI_FUNCSIG);
return T{};
}

Expand Down

0 comments on commit 10c862f

Please sign in to comment.