]> git.mxchange.org Git - flightgear.git/commitdiff
A couple minor MSVC tweaks contributed by Jonathan Polley
authorcurt <curt>
Thu, 17 Jan 2002 00:03:02 +0000 (00:03 +0000)
committercurt <curt>
Thu, 17 Jan 2002 00:03:02 +0000 (00:03 +0000)
src/ATC/ATCdisplay.hxx
src/Scenery/newcache.cxx

index 952d1eb38b8c7bfe170fb839e2eca70f2d892494..5667a9d16a4a7f3c613114860f842734de97b259 100644 (file)
@@ -32,7 +32,6 @@
 
 SG_USING_STD(vector);
 SG_USING_STD(string);
-SG_USING_NAMESPACE(std);
 
 struct atcMessage {
     string msg;
@@ -42,7 +41,7 @@ struct atcMessage {
 
 // ASSUMPTION - with two radios the list won't be long so we don't need to map the id's
 typedef vector<atcMessage> atcMessageList;
-typedef vector<atcMessage>::iterator atcMessageListIterator;
+typedef atcMessageList::iterator atcMessageListIterator;
 
 class FGATCDisplay {
 
index 8c0ebdb3cac1fa9ec87ecc221c6ea8645e6be3e0..aca6fe0a042621d419a992b11f9b2ad59daf318c 100644 (file)
@@ -173,6 +173,10 @@ bool FGNewCache::make_space() {
            return false;
        }
     }
+
+    SG_LOG( SG_TERRAIN, SG_ALERT, "WHOOPS!!! Hit an unhandled condition in  "
+            "FGNewCache::make_space()." );
+    return false;
 }