mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-21 21:33:54 +00:00
Don't mix constructor delegation and variable instantiation.
This commit is contained in:
parent
c07f8d8ef8
commit
66bc1fd6fd
@ -154,8 +154,9 @@ struct Microcycle: public MicrocycleOperationStorage<op> {
|
||||
assert(MicrocycleOperationStorage<op>::operation == dynamic_operation);
|
||||
}
|
||||
}
|
||||
constexpr Microcycle(OperationT dynamic_operation, HalfCycles length) noexcept :
|
||||
length(length), Microcycle(dynamic_operation) {}
|
||||
constexpr Microcycle(OperationT dynamic_operation, HalfCycles length) noexcept : Microcycle(dynamic_operation) {
|
||||
this->length = length;
|
||||
}
|
||||
constexpr Microcycle(HalfCycles length) noexcept {
|
||||
static_assert(op != Operation::DecodeDynamically);
|
||||
this->length = length;
|
||||
|
Loading…
Reference in New Issue
Block a user