mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +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:
parent
ad72158ee0
commit
1643fa2223
Notes:
sideshowbarker
2024-07-19 01:25:40 +09:00
Author: https://github.com/ldm5180
Commit: 1643fa2223
Pull-request: https://github.com/SerenityOS/serenity/pull/4059
1 changed files with 0 additions and 2 deletions
|
@ -93,8 +93,6 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
InputFileStream() = default;
|
||||
|
||||
NonnullRefPtr<File> m_file;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue