KasmVNC/common/network/webudp/WuMath.h
Lauri Kasanen 3b40a92548 Udp
2022-07-26 10:38:14 +00:00

16 lines
213 B
C++

#pragma once
template <typename T>
const T& Min(const T& a, const T& b) {
if (a < b) return a;
return b;
}
template <typename T>
const T& Max(const T& a, const T& b) {
if (a > b) return a;
return b;
}