From 1be9938157ab91ab16b938eaf2062651f09a0d69 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Mar 2020 10:47:39 +0200 Subject: comparison operators should be const Change-Id: Ifa76e004128223460945d58d1c59c4e23db0f108 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90370 Tested-by: Jenkins Reviewed-by: Noel Grandin --- onlineupdate/source/service/windowsHelper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'onlineupdate') diff --git a/onlineupdate/source/service/windowsHelper.hxx b/onlineupdate/source/service/windowsHelper.hxx index 584fa63f43bf..e17b40c61055 100644 --- a/onlineupdate/source/service/windowsHelper.hxx +++ b/onlineupdate/source/service/windowsHelper.hxx @@ -35,7 +35,7 @@ struct AutoHandle return mHandle; } - bool operator==(const AutoHandle& rhs) + bool operator==(const AutoHandle& rhs) const { return mHandle == rhs.mHandle; } -- cgit