summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagesource.cpp
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-06 14:47:02 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-06 13:24:35 +0000
commita6fdda83c338357b848fe710274949917c58768f (patch)
tree4c5af776da20545f79df30be9636125e602b8c04 /src/libs/installer/packagesource.cpp
parentabd518a656e755116b7974424cc1042da305c938 (diff)
Compile fix: explicit qualification in declaration
Change-Id: I681f1cdaf550c7756d4594f409dde39c45d54c8c Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/packagesource.cpp')
-rw-r--r--src/libs/installer/packagesource.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}