From a6fdda83c338357b848fe710274949917c58768f Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Wed, 6 May 2015 14:47:02 +0200 Subject: Compile fix: explicit qualification in declaration Change-Id: I681f1cdaf550c7756d4594f409dde39c45d54c8c Reviewed-by: Jarek Kobus --- src/libs/installer/packagesource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs') diff --git a/src/libs/installer/packagesource.cpp b/src/libs/installer/packagesource.cpp index e58ba870c..f60c5c8e1 100644 --- a/src/libs/installer/packagesource.cpp +++ b/src/libs/installer/packagesource.cpp @@ -75,7 +75,7 @@ namespace QInstaller { /*! Returns the hash value for the \a key, using \a seed to seed the calculation. */ -uint QInstaller::qHash(const PackageSource &key, uint seed) +uint qHash(const PackageSource &key, uint seed) { return qHash(key.url, seed) ^ key.priority; } @@ -83,7 +83,7 @@ uint QInstaller::qHash(const PackageSource &key, uint seed) /*! Returns \c true if \a lhs and \a rhs are equal; otherwise returns \c false. */ -bool QInstaller::operator==(const PackageSource &lhs, const PackageSource &rhs) +bool operator==(const PackageSource &lhs, const PackageSource &rhs) { return lhs.url == rhs.url && lhs.priority == rhs.priority; } -- cgit v1.2.3