You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/evolvotron/files/evolvotron-0.7.1-gcc11-pred...

22 lines
1.0 KiB

https://bugs.gentoo.org/787101
--- a/libevolvotron/mutatable_image_computer_farm.h
+++ b/libevolvotron/mutatable_image_computer_farm.h
@@ -45,7 +45,7 @@ class MutatableImageComputerFarm
{
public:
//! Compare task priorities.
- bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1)
+ bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) const
{
return (t0->priority() < t1->priority());
}
@@ -56,7 +56,7 @@ class MutatableImageComputerFarm
{
public:
//! Compare task priorities.
- bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1)
+ bool operator()(const boost::shared_ptr<const MutatableImageComputerTask>& t0,const boost::shared_ptr<const MutatableImageComputerTask>& t1) const
{
return (t0->priority() > t1->priority());
}