refactor: unglob std::endl
This commit is contained in:
@@ -222,7 +222,7 @@ public:
|
||||
{
|
||||
/*
|
||||
Tag::print(prefix, out);
|
||||
out << prefix << "{" << endl;
|
||||
out << prefix << "{" << std::endl;
|
||||
|
||||
char *newPrefix = new char[ strlen(prefix) + 4 ];
|
||||
strcpy( newPrefix, prefix);
|
||||
@@ -234,7 +234,7 @@ public:
|
||||
it->second->print(newPrefix, out);
|
||||
}
|
||||
delete[] newPrefix;
|
||||
out << prefix << "}" << endl;
|
||||
out << prefix << "}" << std::endl;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
{
|
||||
printf(prefix);
|
||||
|
||||
out << prefix << "{" << endl;
|
||||
out << prefix << "{" << std::endl;
|
||||
|
||||
char *newPrefix = new char[ strlen(prefix) + 4 ];
|
||||
strcpy( newPrefix, prefix);
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
for (AUTO_VAR(it, list.begin()); it != itEnd; it++)
|
||||
printf(newPrefix);
|
||||
delete[] newPrefix;
|
||||
out << prefix << "}" << endl;
|
||||
out << prefix << "}" << std::endl;
|
||||
}
|
||||
|
||||
void add(T *tag)
|
||||
|
||||
@@ -63,7 +63,7 @@ void Tag::print(char *prefix, wostream out)
|
||||
out << L"(\"" << name << L"\")";
|
||||
}
|
||||
out << L": ";
|
||||
out << toString() << endl;
|
||||
out << toString() << std::endl;
|
||||
}
|
||||
|
||||
std::wstring Tag::getName()
|
||||
|
||||
Reference in New Issue
Block a user