diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-08-14 23:14:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-08-14 23:14:38 +0200 |
| commit | 33ae72a3c73f6219be86715e8da71ed345f6077c (patch) | |
| tree | 1c6c98be816508e9231fa1ada3f79ec940ab1cf1 /boot/result.cc | |
| parent | d696abc97143061bf2abb05922188e12b59306c1 (diff) | |
| download | elna-33ae72a3c73f6219be86715e8da71ed345f6077c.tar.gz | |
Map Int and Word to hardware word sizes
Diffstat (limited to 'boot/result.cc')
| -rw-r--r-- | boot/result.cc | 6 |
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(); } |
