mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-11 09:20:46 +01:00
16 lines
213 B
C++
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;
|
|
}
|