From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/util/asset_manager.h | 3 ++- src/util/fatal_error.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/asset_manager.h b/src/util/asset_manager.h index 59bf7a0..1e0638c 100644 --- a/src/util/asset_manager.h +++ b/src/util/asset_manager.h @@ -25,5 +25,6 @@ struct AssetRecord { const uint8_t* GetAsset(AssetId asset_id, size_t* out_size = nullptr); void DropAsset(AssetId asset_id, const uint8_t* asset); -// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not found. +// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not +// found. AssetId GetAssetIdByName(const char* name); diff --git a/src/util/fatal_error.h b/src/util/fatal_error.h index ea4d168..aaeba26 100644 --- a/src/util/fatal_error.h +++ b/src/util/fatal_error.h @@ -50,7 +50,8 @@ // - Calls abort() // // Example output: -// FATAL: write_pos out of bounds: write=100 >= capacity=50 [ring_buffer.cc:57] +// FATAL: write_pos out of bounds: write=100 >= capacity=50 +// [ring_buffer.cc:57] #define FATAL_CHECK(cond, ...) \ do { \ if (cond) { \ -- cgit v1.2.3