]> git.mxchange.org Git - flightgear.git/commitdiff
Compile with VS2005 in debug mode
authorfredb <fredb>
Sun, 22 Feb 2009 08:23:11 +0000 (08:23 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 22 Feb 2009 22:52:17 +0000 (23:52 +0100)
src/Navaids/positioned.cxx

index d1e34373e0017c1e2d2cd9ab68192f9b264c67af..0f55be9f4a6dbeca9b817645451f032cf87e96ee 100644 (file)
@@ -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();
+  }
 };