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:
Lenny Maiorani 2020-11-11 16:20:47 -07:00 committed by Andreas Kling
commit 1643fa2223
Notes: sideshowbarker 2024-07-19 01:25:40 +09:00

View file

@ -93,8 +93,6 @@ public:
}
private:
InputFileStream() = default;
NonnullRefPtr<File> m_file;
};