all: fix clang 18 lints

This commit is contained in:
outfoxxed 2024-11-24 02:27:49 -08:00
parent e957e88ccb
commit 2571766d3b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
27 changed files with 47 additions and 35 deletions

View file

@ -15,7 +15,7 @@ namespace RegionShape { // NOLINT
Q_NAMESPACE;
QML_ELEMENT;
enum Enum {
enum Enum : quint8 {
Rect = 0,
Ellipse = 1,
};
@ -29,7 +29,7 @@ namespace Intersection { // NOLINT
Q_NAMESPACE;
QML_ELEMENT;
enum Enum {
enum Enum : quint8 {
/// Combine this region, leaving a union of this and the other region. (opposite of `Subtract`)
Combine = 0,
/// Subtract this region, cutting this region out of the other. (opposite of `Combine`)