use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,6 +51,8 @@ class WXDLLEXPORT wxFileInputStream: public wxInputStream {
|
||||
protected:
|
||||
wxFile *m_file;
|
||||
bool m_file_destroy;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxFileInputStream)
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxFileOutputStream: public wxOutputStream {
|
||||
@@ -79,6 +81,8 @@ class WXDLLEXPORT wxFileOutputStream: public wxOutputStream {
|
||||
protected:
|
||||
wxFile *m_file;
|
||||
bool m_file_destroy;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxFileOutputStream)
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxFileStream: public wxFileInputStream, public wxFileOutputStream {
|
||||
@@ -111,6 +115,8 @@ class WXDLLEXPORT wxFFileInputStream: public wxInputStream {
|
||||
protected:
|
||||
wxFFile *m_file;
|
||||
bool m_file_destroy;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxFFileInputStream)
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxFFileOutputStream: public wxOutputStream {
|
||||
@@ -139,6 +145,8 @@ class WXDLLEXPORT wxFFileOutputStream: public wxOutputStream {
|
||||
protected:
|
||||
wxFFile *m_file;
|
||||
bool m_file_destroy;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxFFileOutputStream)
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxFFileStream: public wxFFileInputStream, public wxFFileOutputStream {
|
||||
|
Reference in New Issue
Block a user