manuals tidy tier 2: empty-catch, enum-size, trivially-destructible

This commit is contained in:
2026-05-14 19:07:43 +02:00
parent 8676c0e773
commit 0b82be193f
24 changed files with 69 additions and 37 deletions
+3 -3
View File
@@ -26,14 +26,14 @@ struct SDLFreeDeleter {
};
// --- Public Enums ---
enum JA_Channel_state {
enum JA_Channel_state : std::uint8_t {
JA_CHANNEL_INVALID,
JA_CHANNEL_FREE,
JA_CHANNEL_PLAYING,
JA_CHANNEL_PAUSED,
JA_SOUND_DISABLED,
};
enum JA_Music_state {
enum JA_Music_state : std::uint8_t {
JA_MUSIC_INVALID,
JA_MUSIC_PLAYING,
JA_MUSIC_PAUSED,
@@ -42,7 +42,7 @@ enum JA_Music_state {
};
// --- Struct Definitions ---
enum {
enum : std::uint8_t {
JA_MAX_SIMULTANEOUS_CHANNELS = 20,
JA_MAX_GROUPS = 2
};