From baed81d0573eb22b6145c4db20a1e3d546e64501 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 26 Oct 2018 16:51:54 +0100 Subject: [PATCH] Fix a compiler error with a missing member function return type --- logbook/WorkedBefore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logbook/WorkedBefore.cpp b/logbook/WorkedBefore.cpp index d2167460e..b6cd9eca8 100644 --- a/logbook/WorkedBefore.cpp +++ b/logbook/WorkedBefore.cpp @@ -42,7 +42,7 @@ struct worked_entry // less then predidate for the Continent enum class struct Continent_less { - operator () (AD1CCty::Continent lhs, AD1CCty::Continent rhs) const + bool operator () (AD1CCty::Continent lhs, AD1CCty::Continent rhs) const { return static_cast (lhs) < static_cast (rhs); }