fixed parent() method, added a FIXME

svn-id: r5619
This commit is contained in:
Max Horn 2002-11-19 13:42:57 +00:00
parent 4e7575f9db
commit 955fed1fda

View file

@ -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__)