aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-04-12 10:37:07 +0200
committerDan Engelbrecht <[email protected]>2022-04-12 10:37:07 +0200
commitc67f691ec9969240869eac586ddc7c940920fac2 (patch)
treedacf8647c1df8f74937a72670d1108837735c9ae /zencore/include
parentMerge pull request #58 from EpicGames/de/cas-store-with-block-store (diff)
downloadzen-c67f691ec9969240869eac586ddc7c940920fac2.tar.xz
zen-c67f691ec9969240869eac586ddc7c940920fac2.zip
use zen::UnsignedIntegral instead of std::unsigned_integral
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/include/zencore/string.h b/zencore/include/zencore/string.h
index e502120ac..027730063 100644
--- a/zencore/include/zencore/string.h
+++ b/zencore/include/zencore/string.h
@@ -597,7 +597,7 @@ ToHexNumber(const uint8_t* InputData, size_t ByteCount, char* OutString)
/// <param name="Value">Integer value type</param>
/// <param name="outString">Output buffer where resulting string is written</param>
void
-ToHexNumber(std::unsigned_integral auto Value, char* OutString)
+ToHexNumber(UnsignedIntegral auto Value, char* OutString)
{
ToHexNumber((const uint8_t*)&Value, sizeof(Value), OutString);
OutString[sizeof(Value) * 2] = 0;
@@ -611,7 +611,7 @@ ToHexNumber(std::unsigned_integral auto Value, char* OutString)
/// <param name="OutValue">Pointer to output value</param>
/// <returns>true if the input consisted of all valid hexadecimal characters</returns>
bool
-ParseHexNumber(const std::string HexString, std::unsigned_integral auto& OutValue)
+ParseHexNumber(const std::string HexString, UnsignedIntegral auto& OutValue)
{
return ParseHexNumber(HexString.c_str(), sizeof(OutValue) * 2, (uint8_t*)&OutValue);
}