projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed bogus default parameters, applying
[wxWidgets.git]
/
src
/
msw
/
volume.cpp
diff --git
a/src/msw/volume.cpp
b/src/msw/volume.cpp
index 5a3ad4e44086e81f0fa92cd18d1640b33452ab04..2d7fe331b90260db04de45e1638777cb665908ee 100644
(file)
--- a/
src/msw/volume.cpp
+++ b/
src/msw/volume.cpp
@@
-99,6
+99,15
@@
struct FileInfo : public wxObject
{
FileInfo(unsigned flag=0, wxFSVolumeKind type=wxFS_VOL_OTHER) :
m_flags(flag), m_type(type) {}
{
FileInfo(unsigned flag=0, wxFSVolumeKind type=wxFS_VOL_OTHER) :
m_flags(flag), m_type(type) {}
+
+ FileInfo(const FileInfo& other) { *this = other; }
+ FileInfo& operator=(const FileInfo& other)
+ {
+ m_flags = other.m_flags;
+ m_type = other.m_type;
+ return *this;
+ }
+
unsigned m_flags;
wxFSVolumeKind m_type;
};
unsigned m_flags;
wxFSVolumeKind m_type;
};