diff options
author | vng <viktor.govako@gmail.com> | 2012-05-10 19:03:56 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:38:15 +0300 |
commit | 0218b4973ef5a865c64764bc7f1c984baa061031 (patch) | |
tree | 8ae88aed84c6b83e3711cf622e2d182c1523750c /std | |
parent | 00505c90aef29595a2b8e3a16dd2882ec2a5bbf9 (diff) |
Move istream, ostream from "fstream.hpp" to "iostream.hpp".
Diffstat (limited to 'std')
-rw-r--r-- | std/fstream.hpp | 7 | ||||
-rw-r--r-- | std/iostream.hpp | 28 |
2 files changed, 19 insertions, 16 deletions
diff --git a/std/fstream.hpp b/std/fstream.hpp index 44b8929274..2e908221f3 100644 --- a/std/fstream.hpp +++ b/std/fstream.hpp @@ -10,12 +10,11 @@ #include <ios> #else #include <fstream> + + using std::ofstream; + using std::ifstream; #endif -using std::ofstream; -using std::ostream; -using std::ifstream; -using std::istream; using std::ios; #ifdef DEBUG_NEW diff --git a/std/iostream.hpp b/std/iostream.hpp index 7e56b9e9b2..d944705db8 100644 --- a/std/iostream.hpp +++ b/std/iostream.hpp @@ -7,20 +7,24 @@ #endif #ifdef OMIM_OS_BADA -#include <istream> -#include <ostream> + #include <istream> + #include <ostream> #else // OMIM_OS_BADA -#include <iostream> - -using std::cin; -using std::cout; -using std::cerr; -#ifndef OMIM_OS_ANDROID -using std::wcin; -using std::wcout; -using std::wcerr; -#endif + #include <iostream> + + using std::cin; + using std::cout; + using std::cerr; + + using std::istream; + using std::ostream; + + #ifndef OMIM_OS_ANDROID + using std::wcin; + using std::wcout; + using std::wcerr; + #endif #endif // OMIM_OS_BADA using std::endl; |