commit 75418dc5
std::ios_base is a bit too special to have a "using".
Changed files
| M | source/code/common.cpp before |
diff --git a/source/code/common.cpp b/source/code/common.cpp
index 1938286..f351c65 100644
--- a/source/code/common.cpp
+++ b/source/code/common.cpp
@@ -31,7 +31,6 @@ http://www.blockattack.net
using std::string;
using std::stringstream;
-using std::ios_base;
using std::cerr;
using std::endl;
using std::map;
@@ -73,7 +72,7 @@ double str2double(const string& str2parse) {
converter >> val;
return val;
}
- catch (ios_base::failure& f) {
+ catch (std::ios_base::failure& f) {
return 0.0;
}
}
@@ -106,7 +105,7 @@ int str2int(const string& str2parse) {
converter >> val;
return val;
}
- catch (ios_base::failure& f) {
+ catch (std::ios_base::failure& f) {
return 0;
}
}