From: James Turner Date: Sun, 13 Nov 2011 21:27:55 +0000 (+0000) Subject: Fix some Windows std:: namespace issues. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85924cf953db56954bd7764e253b3e95983e58a7;p=flightgear.git Fix some Windows std:: namespace issues. --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 5bd6820e6..00624af53 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -80,6 +80,7 @@ using std::cout; using std::cerr; using std::endl; using std::vector; +using std::cin; #define NEW_DEFAULT_MODEL_HZ 120 @@ -2189,8 +2190,8 @@ void Options::showUsage() const cout << "For a complete list of options use --help --verbose" << endl; } #ifdef _MSC_VER - cout << "Hit a key to continue..." << endl; - cin.get(); + std::cout << "Hit a key to continue..." << std::endl; + std::cin.get(); #endif }