feat: migrate from OpView to DoubleLinkedList<Op*> + multiple
funciton arguments
This commit is contained in:
@@ -10,8 +10,8 @@ using BlockID = unsigned int;
|
||||
class Block
|
||||
{
|
||||
public:
|
||||
Block(BlockID id, const OpView& ops)
|
||||
: m_id(id), m_ops(DoubleLinkedList<Op*>::FromView(ops)) {}
|
||||
Block(BlockID id, DoubleLinkedList<Op*> ops)
|
||||
: m_id(id), m_ops(ops) {}
|
||||
public:
|
||||
DoubleLinkedList<Op*>& ops() { return m_ops; }
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user