Intermittently, g++ doesn't like inline functions. Just remove'em.

This commit is contained in:
Steve Checkoway
2003-09-16 07:04:31 +00:00
parent ad28963ad2
commit 7eb2d7845c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ void split(const CString& Source, const CString& Deliminator, vector<CString>& A
} while (startpos <= Source.size());
}
inline bool IsADirectory(const CString& path)
bool IsADirectory(const CString& path)
{
struct stat s;
if (stat(path, &s))
@@ -44,7 +44,7 @@ bool DoesFileExist(const CString& path)
return !stat(path, &s);
}
inline CString LastPathComponent(const CString& path)
CString LastPathComponent(const CString& path)
{
unsigned pos = path.rfind('/');