Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:portalofreedom:revolve
ogre19
sample-comparison-operator-const-callable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sample-comparison-operator-const-callable.patch of Package ogre19
From 9b1c536b85448ea971822081c7e3c775dbb5cc47 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg <rojtberg@gmail.com> Date: Wed, 18 Apr 2018 01:44:45 +0200 Subject: [PATCH] Samples: comparison operators should be const callable (C++17) --- Samples/Common/include/Sample.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/Common/include/Sample.h b/Samples/Common/include/Sample.h index 5854ebdc1c9..99e77ffcacc 100644 --- a/Samples/Common/include/Sample.h +++ b/Samples/Common/include/Sample.h @@ -54,7 +54,7 @@ namespace OgreBites =============================================================================*/ struct Comparer { - bool operator() (const Sample* a, const Sample* b) + bool operator() (const Sample* a, const Sample* b) const { auto aTitle = a->getInfo().find("Title"); auto bTitle = b->getInfo().find("Title");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor