mirror of https://github.com/OpenRCT2/OpenRCT2.git
Part of #21421: applied clang-format to Util.cpp
This commit is contained in:
parent
33c9c27298
commit
8e73eb1d07
|
@ -501,8 +501,7 @@ std::vector<uint8_t> Ungzip(const void* data, const size_t dataLen)
|
|||
return output;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
constexpr T kAddClampBody(T value, T value_to_add, T min_cap, T max_cap)
|
||||
template<typename T> constexpr T kAddClampBody(T value, T value_to_add, T min_cap, T max_cap)
|
||||
{
|
||||
if ((value_to_add > 0) && (value > (max_cap - (value_to_add))))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue