mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibACPI: Remove the Node constructor
It was mistakenly added in the previous PR even though it never has any other argument than nullptr.
This commit is contained in:
1 parent
c4de12f577
commit
dbfa58bcbe
1 file changed
+1
-12
@@ -47,11 +47,6 @@ public:
|
||||
virtual ~Node() = default;
|
||||
|
||||
protected:
|
||||
Node(RefPtr<Node> parent)
|
||||
: m_parent(move(parent))
|
||||
{
|
||||
}
|
||||
|
||||
NameSegment m_name;
|
||||
|
||||
WeakPtr<Node> m_parent;
|
||||
@@ -60,11 +55,6 @@ protected:
|
||||
|
||||
class ScopeNode : public Node {
|
||||
public:
|
||||
ScopeNode()
|
||||
: Node(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
virtual NodeType type() const override { return NodeType::Scope; }
|
||||
virtual StringView kind() const override { return "Scope"sv; }
|
||||
};
|
||||
@@ -72,8 +62,7 @@ public:
|
||||
class NameNode : public Node {
|
||||
public:
|
||||
NameNode(Object value)
|
||||
: Node(nullptr)
|
||||
, m_data(move(value))
|
||||
: m_data(move(value))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user