fixed parent() method, added a FIXME
svn-id: r5619
This commit is contained in:
parent
4e7575f9db
commit
955fed1fda
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ FSList *WindowsFilesystemNode::listDir(ListMode mode) const {
|
||||||
|
|
||||||
FilesystemNode *WindowsFilesystemNode::parent() const {
|
FilesystemNode *WindowsFilesystemNode::parent() const {
|
||||||
assert(_isDirectory); // FIXME - Why this restriction? Files have parent dirs, too!
|
assert(_isDirectory); // FIXME - Why this restriction? Files have parent dirs, too!
|
||||||
return _parentNode.clone();
|
return _parentNode->clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // defined(_MSC_VER) || defined(__MINGW32__)
|
#endif // defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue