diff --git a/inc/hgl/TypeFunc.h b/inc/hgl/TypeFunc.h index 5fb463a..d304ca6 100644 --- a/inc/hgl/TypeFunc.h +++ b/inc/hgl/TypeFunc.h @@ -439,7 +439,7 @@ namespace hgl /** * 求对齐数量 */ - template inline T divide_rounding_up(T a, T b) + template inline T divide_rounding_up(T x, T y) { return (x + y - (T)1) / y; }