From 1d4aaa2f0d84a5278689913563ca742c9d291a73 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 22 Feb 2009 08:23:11 +0000 Subject: [PATCH] Compile with VS2005 in debug mode --- src/Navaids/positioned.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(); + } }; -- 2.39.5