aboutsummaryrefslogtreecommitdiff
path: root/boot/driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/driver.cc')
-rw-r--r--boot/driver.cc4
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;