mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
LibSQL: Replace DownPointer copy constructor with move constructor
Avoids awkwardly const-casting the "other" DownPointer.
This commit is contained in:
parent
4283109c13
commit
948bd50197
2 changed files with 4 additions and 13 deletions
|
@ -36,7 +36,7 @@ class DownPointer {
|
|||
public:
|
||||
explicit DownPointer(TreeNode*, u32 = 0);
|
||||
DownPointer(TreeNode*, TreeNode*);
|
||||
DownPointer(DownPointer const&);
|
||||
DownPointer(DownPointer&&);
|
||||
DownPointer(TreeNode*, DownPointer&);
|
||||
~DownPointer() = default;
|
||||
[[nodiscard]] u32 pointer() const { return m_pointer; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue