From d09cd98bd3df9920f0ecab97615048c0594e8f7f Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 19 Jul 2026 23:23:22 +0200 Subject: Add clang-tidy support --- boot/driver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/driver.cc') diff --git a/boot/driver.cc b/boot/driver.cc index 8dc95f8..374bcc9 100644 --- a/boot/driver.cc +++ b/boot/driver.cc @@ -78,7 +78,7 @@ namespace elna::boot current_position += 2; std::size_t processed; - char character = static_cast(std::stoi(current_position, &processed, 16)); + char const character = static_cast(std::stoi(current_position, &processed, 16)); if (processed == 0) { return std::nullopt; @@ -93,7 +93,7 @@ namespace elna::boot { ++current_position; - char escape = escape_char(*current_position); + char const escape = escape_char(*current_position); if (escape == escape_invalid_char) { return std::nullopt; -- cgit v1.2.3