diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-19 23:23:22 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-20 00:48:12 +0200 |
| commit | d09cd98bd3df9920f0ecab97615048c0594e8f7f (patch) | |
| tree | 6923b34ae6b603e19ede189098206cfe25feef35 /boot/driver.cc | |
| parent | cdbc1695a93910df5729779de31912a3b4b4172b (diff) | |
| download | elna-d09cd98bd3df9920f0ecab97615048c0594e8f7f.tar.gz | |
Add clang-tidy support
Diffstat (limited to 'boot/driver.cc')
| -rw-r--r-- | boot/driver.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<char>(std::stoi(current_position, &processed, 16)); + char const character = static_cast<char>(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; |
