aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/memory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zencore/include/zencore/memory.h b/zencore/include/zencore/memory.h
index aba391c85..313813af9 100644
--- a/zencore/include/zencore/memory.h
+++ b/zencore/include/zencore/memory.h
@@ -128,7 +128,7 @@ struct MutableMemoryView
}
/** Modifies the view to be the given number of bytes from the left. */
- constexpr inline void LeftInline(uint64_t InSize) { m_DataEnd = std::min(m_DataEnd, m_Data + InSize); }
+ constexpr inline void LeftInline(uint64_t InSize) { m_DataEnd = zen::Min(m_DataEnd, m_Data + InSize); }
/** Modifies the view to be the middle part by taking up to the given number of bytes from the given offset. */
inline void MidInline(uint64_t InOffset, uint64_t InSize = ~uint64_t(0))
@@ -217,7 +217,7 @@ struct MemoryView
/** Modifies the view by chopping the given number of bytes from the left. */
inline void RightChopInline(uint64_t InSize)
{
- const uint64_t Offset = std::min(GetSize(), InSize);
+ const uint64_t Offset = zen::Min(GetSize(), InSize);
m_Data = GetDataAtOffsetNoCheck(Offset);
}
@@ -257,7 +257,7 @@ struct MemoryView
inline void LeftInline(uint64_t InSize)
{
InSize = zen::Min(GetSize(), InSize);
- m_DataEnd = std::min(m_DataEnd, m_Data + InSize);
+ m_DataEnd = zen::Min(m_DataEnd, m_Data + InSize);
}
/** Modifies the view to be the middle part by taking up to the given number of bytes from the given offset. */