mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-22 04:53:04 +00:00
refactor: unglob std::endl
This commit is contained in:
parent
7c95bfc0bd
commit
b9d67d14af
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue