diff options
Diffstat (limited to 'helpers.cc')
| -rw-r--r-- | helpers.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/helpers.cc b/helpers.cc index 7bb1215..0aa2fe9 100644 --- a/helpers.cc +++ b/helpers.cc @@ -45,9 +45,15 @@ parse_args (int argc, char const* const* argv) } void -die_for (Address address, std::string const& message) +warn (Address address, std::string const& message) { std::cerr << message << ' ' << std::hex << address << '\n'; +} + +[[noreturn]] void +die_for (Address address, std::string const& message) +{ + warn (address, message); std::exit (1); } |
