mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +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;
|
|
}
|