lsnes/include/library/minmax.hpp
Ilari Liusvaara 2cd0bbdcc3 Switch to dedicated SHA-256 implementation
This is in preparation of splitting the emulation cores away.
2012-02-07 17:35:18 +02:00

14 lines
226 B
C++

#ifndef _library__minmax__hpp__included__
#define _library__minmax__hpp__included__
template<typename T> T min(T a, T b)
{
return (a < b) ? a : b;
}
template<typename T> T max(T a, T b)
{
return (a < b) ? b : a;
}
#endif