Added missing definition of nsFilePath::nsFilePath(const nsFilePath&)

This commit is contained in:
warren%netscape.com 1999-02-17 18:20:27 +00:00
parent f1665e0b68
commit 78c67590e0
2 changed files with 16 additions and 0 deletions

View File

@ -329,6 +329,14 @@ nsBasicOutStream& operator << (nsBasicOutStream& s, const nsFileURL& url)
// nsFilePath implementation
//========================================================================================
nsFilePath::nsFilePath(const nsFilePath& inPath)
: mPath(nsFileSpecHelpers::StringDup(inPath.mPath))
#ifdef XP_MAC
, mNativeFileSpec(inPath.mNativeFileSpec)
#endif
{
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const char* inString, bool inCreateDirs)

View File

@ -329,6 +329,14 @@ nsBasicOutStream& operator << (nsBasicOutStream& s, const nsFileURL& url)
// nsFilePath implementation
//========================================================================================
nsFilePath::nsFilePath(const nsFilePath& inPath)
: mPath(nsFileSpecHelpers::StringDup(inPath.mPath))
#ifdef XP_MAC
, mNativeFileSpec(inPath.mNativeFileSpec)
#endif
{
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const char* inString, bool inCreateDirs)