aboutsummaryrefslogtreecommitdiff
path: root/boot/result.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-14 23:14:38 +0200
committerEugen Wissner <belka@caraus.de>2026-08-14 23:14:38 +0200
commit33ae72a3c73f6219be86715e8da71ed345f6077c (patch)
tree1c6c98be816508e9231fa1ada3f79ec940ab1cf1 /boot/result.cc
parentd696abc97143061bf2abb05922188e12b59306c1 (diff)
downloadelna-33ae72a3c73f6219be86715e8da71ed345f6077c.tar.gz
Map Int and Word to hardware word sizes
Diffstat (limited to 'boot/result.cc')
-rw-r--r--boot/result.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/result.cc b/boot/result.cc
index a5f0803..3970b1f 100644
--- a/boot/result.cc
+++ b/boot/result.cc
@@ -63,17 +63,17 @@ namespace elna::boot
return this->m_start != this->m_end;
}
- error::error(const source_position position)
+ diagnostic::diagnostic(const source_position position)
: position(position)
{
}
- std::deque<std::unique_ptr<error>>& error_container::errors()
+ std::deque<std::unique_ptr<diagnostic>>& diagnostic_container::errors()
{
return m_errors;
}
- bool error_container::has_errors() const
+ bool diagnostic_container::has_errors() const
{
return !m_errors.empty();
}