fix several gcc warnings
This commit is contained in:
@@ -272,10 +272,8 @@ std::wstring FileInfo::toStdWString() const
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string FileInfo::extension (bool complete) const
|
||||
std::string FileInfo::extension () const
|
||||
{
|
||||
// complete not implemented
|
||||
assert(complete==false);
|
||||
std::string::size_type pos = FileName.find_last_of('.');
|
||||
if (pos == std::string::npos)
|
||||
return std::string();
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
* ext = fi.extension(); // ext = "gz"
|
||||
*@endcode
|
||||
*/
|
||||
std::string extension (bool complete = false) const;
|
||||
std::string extension () const;
|
||||
/// Checks for a special extension, NOT case sensetive
|
||||
bool hasExtension (const char* Ext) const;
|
||||
//@}
|
||||
|
||||
Reference in New Issue
Block a user