Added explicit tag to relevant constructors
This commit is contained in:
parent
e5f30b4e12
commit
d997220fd5
|
@ -36,11 +36,11 @@ namespace Instruction {
|
|||
|
||||
}
|
||||
|
||||
Copy(const AddressWithOffset &addressAa, const AddressWithOffset &addressBb, uint8_t count) : count(count),
|
||||
Copy(const AddressWithOffset &to, const AddressWithOffset &from, uint8_t count) : count(count),
|
||||
addressAA(
|
||||
addressAa),
|
||||
from),
|
||||
addressBB(
|
||||
addressBb) {}
|
||||
to) {}
|
||||
|
||||
CommandOp getCommand() const override {
|
||||
return CommandOp::COPY;
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Instruction {
|
|||
|
||||
}
|
||||
|
||||
Jump(uint32_t jumpAddress) : jumpAddress(jumpAddress) {}
|
||||
explicit Jump(uint32_t jumpAddress) : jumpAddress(jumpAddress) {}
|
||||
|
||||
CommandOp getCommand() const override {
|
||||
return CommandOp::JUMP;
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Instruction {
|
|||
|
||||
}
|
||||
|
||||
Return(const AddressWithOffset &address) : address(address) {}
|
||||
explicit Return(const AddressWithOffset &address) : address(address) {}
|
||||
|
||||
CommandOp getCommand() const override {
|
||||
return CommandOp::RETURN;
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Instruction {
|
|||
|
||||
}
|
||||
|
||||
Wait(uint32_t time) : time(time) {
|
||||
explicit Wait(uint32_t time) : time(time) {
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue