diff --git a/link.cpp b/link.cpp index fe8b70e..51702e5 100644 --- a/link.cpp +++ b/link.cpp @@ -813,6 +813,10 @@ void finish(void) { namespace { + void push(std::vector &v, omf::opcode x) { + v.push_back(static_cast(x)); + } + void push(std::vector &v, uint8_t x) { v.push_back(x); }