mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
InputFileStream: Incorrectly defaulted constructor
Problem: - The default constructor is is deleted because NonnullRefPtr has no default constructor and there is a member variable of that type, but the function is set as `= default`. Solution: - Remove the code because the function is actually deleted implicitly.
This commit is contained in:
committed by
Andreas Kling
parent
ad72158ee0
commit
1643fa2223
@@ -93,8 +93,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
InputFileStream() = default;
|
|
||||||
|
|
||||||
NonnullRefPtr<File> m_file;
|
NonnullRefPtr<File> m_file;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user