Remove clamp macro
Doesn't really need to exist since all it's doing is inlining std::clamp.
This commit is contained in:
@@ -79,7 +79,7 @@ int RageFileObjMem::WriteInternal( const void *buffer, std::size_t bytes )
|
||||
|
||||
int RageFileObjMem::SeekInternal( int offset )
|
||||
{
|
||||
m_iFilePos = clamp( offset, 0, GetFileSize() );
|
||||
m_iFilePos = std::clamp( offset, 0, GetFileSize() );
|
||||
return m_iFilePos;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user