diff options
Diffstat (limited to 'src/filedef.h')
-rw-r--r-- | src/filedef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filedef.h b/src/filedef.h index 1d2d121..d230313 100644 --- a/src/filedef.h +++ b/src/filedef.h @@ -248,9 +248,9 @@ class DirEntry { public: enum EntryKind { Dir, File }; - DirEntry::DirEntry(DirEntry *parent,FileDef *fd) + DirEntry(DirEntry *parent,FileDef *fd) : m_parent(parent), m_kind(File), m_fd(fd), m_isLast(FALSE) { } - DirEntry::DirEntry(DirEntry *parent) + DirEntry(DirEntry *parent) : m_parent(parent), m_kind(Dir), m_fd(0), m_isLast(FALSE) { } virtual ~DirEntry() { } EntryKind kind() const { return m_kind; } |