Removed std:: and using namespace std

This commit is contained in:
Christian
2018-11-27 10:22:56 +01:00
parent 6b7eeac0bb
commit 2cf9bc6c23
10 changed files with 66 additions and 61 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
// Overload <<
std::ostream& operator<<(std::ostream& os, const species& SpecOut) {
ostream& operator<<(ostream& os, const species& SpecOut) {
switch (SpecOut) {
case undef:
os<<"undef";
@@ -41,12 +41,12 @@ std::ostream& operator<<(std::ostream& os, const species& SpecOut) {
os<<"DT";
break;
default:
std::cerr<<"unknown species";
cerr<<"unknown species";
exit(1);
}
return (os);
}
std::ostream& operator<<(std::ostream& os, const Particle& partOut) {
ostream& operator<<(ostream& os, const Particle& partOut) {
os
<< partOut.Id << ";"
<<partOut.parentId << ";"