Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -40,19 +40,19 @@ class Foundation_API DirectoryIterator
/// even is the original iterator has been advanced
/// (all copies of an iterator share their state with
/// the original iterator)
/// * because of this you should only use the prefix
/// * because of this you should only use the prefix
/// increment operator
{
public:
DirectoryIterator();
/// Creates the end iterator.
DirectoryIterator(const std::string& path);
/// Creates a directory iterator for the given path.
DirectoryIterator(const DirectoryIterator& iterator);
/// Creates a directory iterator for the given path.
DirectoryIterator(const File& file);
/// Creates a directory iterator for the given file.
@@ -64,7 +64,7 @@ public:
const std::string& name() const;
/// Returns the current filename.
const Path& path() const;
/// Returns the current path.
@@ -72,18 +72,18 @@ public:
DirectoryIterator& operator = (const File& file);
DirectoryIterator& operator = (const Path& path);
DirectoryIterator& operator = (const std::string& path);
virtual DirectoryIterator& operator ++ (); // prefix
//@ deprecated
DirectoryIterator operator ++ (int); // postfix
/// Please use the prefix increment operator instead.
const File& operator * () const;
File& operator * ();
const File* operator -> () const;
File* operator -> ();
bool operator == (const DirectoryIterator& iterator) const;
bool operator != (const DirectoryIterator& iterator) const;
@@ -104,7 +104,7 @@ inline const std::string& DirectoryIterator::name() const
return _path.getFileName();
}
inline const Path& DirectoryIterator::path() const
{
return _path;