summaryrefslogtreecommitdiff
path: root/Libraries/LibCore
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@colorado.edu>2020-11-11 16:20:47 -0700
committerAndreas Kling <kling@serenityos.org>2020-11-12 10:19:52 +0100
commit1643fa22237e418b896e45c7a8bec10f826dc177 (patch)
tree31899575c741f9745030da763478df8e32116d59 /Libraries/LibCore
parentad72158ee0a8aac7c4b35b91626361b1c066bba4 (diff)
downloadserenity-1643fa22237e418b896e45c7a8bec10f826dc177.zip
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.
Diffstat (limited to 'Libraries/LibCore')
-rw-r--r--Libraries/LibCore/FileStream.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibCore/FileStream.h b/Libraries/LibCore/FileStream.h
index 0a67f983ff..e12520f87b 100644
--- a/Libraries/LibCore/FileStream.h
+++ b/Libraries/LibCore/FileStream.h
@@ -93,8 +93,6 @@ public:
}
private:
- InputFileStream() = default;
-
NonnullRefPtr<File> m_file;
};