mirror of
https://github.com/ksherlock/merlin-utils.git
synced 2024-06-14 23:29:27 +00:00
fix gcc overload ambiguity errors.
This commit is contained in:
parent
433529897b
commit
a38b2249f2
4
link.cpp
4
link.cpp
|
@ -813,6 +813,10 @@ void finish(void) {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
void push(std::vector<uint8_t> &v, omf::opcode x) {
|
||||||
|
v.push_back(static_cast<uint8_t>(x));
|
||||||
|
}
|
||||||
|
|
||||||
void push(std::vector<uint8_t> &v, uint8_t x) {
|
void push(std::vector<uint8_t> &v, uint8_t x) {
|
||||||
v.push_back(x);
|
v.push_back(x);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user