Replacing std::exception with std::runtime_error

This commit is contained in:
doctaweed
2020-08-26 22:24:03 -06:00
parent 311e025fe9
commit 92976234a1
31 changed files with 123 additions and 123 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ void LinkedObjectFile::append_word_to_string(std::string& dest, const LinkedWord
sprintf(buff, " .sym-off 0x%x %s\n", word.data >> 16, word.symbol_name.c_str());
break;
default:
throw std::exception("nyi");
throw std::runtime_error("nyi");
}
dest += buff;