Skip to content

Commit

Permalink
Fixed|GCC: Extraneous scope resolution operator in fileid.h
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Oct 10, 2012
1 parent 50eddf8 commit f8f9641
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doomsday/engine/portable/include/fileid.h
Expand Up @@ -56,13 +56,12 @@ class FileId : public LogEntry::Arg::Base
/// @return @c true= this FileId is not equal @a other (differing hashes).
bool operator != (FileId const& other) const;

friend void FileId::swap(FileId& first, FileId& second) // nothrow
friend void swap(FileId& first, FileId& second) // nothrow
{
#ifdef DENG2_QT_4_8_OR_NEWER
first.md5_.swap(second.md5_);
#else
using std::swap;
swap(first.md5_, second.md5_);
std::swap(first.md5_, second.md5_);
#endif
}

Expand Down

0 comments on commit f8f9641

Please sign in to comment.