Added explicit tag to relevant constructors

This commit is contained in:
DataHoarder 2021-01-01 04:06:08 +01:00
parent e5f30b4e12
commit d997220fd5
4 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -36,7 +36,7 @@ namespace Instruction {
}
Wait(uint32_t time) : time(time) {
explicit Wait(uint32_t time) : time(time) {
}