From: fredb Date: Sun, 22 Feb 2009 08:23:11 +0000 (+0000) Subject: Compile with VS2005 in debug mode X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d4aaa2f0d84a5278689913563ca742c9d291a73;p=flightgear.git Compile with VS2005 in debug mode --- diff --git a/src/Navaids/positioned.cxx b/src/Navaids/positioned.cxx index d1e34373e..0f55be9f4 100644 --- a/src/Navaids/positioned.cxx +++ b/src/Navaids/positioned.cxx @@ -62,11 +62,17 @@ public: { return a->type() < b; } - + bool operator()(const FGPositioned::Type a, const FGPositioned* b) const { return a < b->type(); } + + // The operator below is required by VS2005 in debug mode + bool operator()(const FGPositioned* a, const FGPositioned* b) const + { + return a->type() < b->type(); + } };