Replace point constants with static class members #82576
Annotations
10 errors
run clang-tidy:
src/point.h#L302
Prefer constructing 'point' from named constant 'point::north' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L303
Prefer constructing 'point' from named constant 'point::north_east' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L304
Prefer constructing 'point' from named constant 'point::east' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L305
Prefer constructing 'point' from named constant 'point::south_east' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L306
Prefer constructing 'point' from named constant 'point::south' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L307
Prefer constructing 'point' from named constant 'point::south_west' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L308
Prefer constructing 'point' from named constant 'point::west' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L309
Prefer constructing 'point' from named constant 'point::north_west' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L325
Prefer constructing 'tripoint' from named constant 'tripoint::above' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
run clang-tidy:
src/point.h#L326
Prefer constructing 'tripoint' from named constant 'tripoint::below' rather than explicit integer arguments. [cata-use-named-point-constants,-warnings-as-errors]
|
Loading