mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-08-02 16:01:16 +00:00
refactor: unglob std::(w)ostream
This commit is contained in:
@@ -218,7 +218,7 @@ public:
|
||||
return std::wstring( buf );
|
||||
}
|
||||
|
||||
void print(char *prefix, ostream out)
|
||||
void print(char *prefix, std::ostream out)
|
||||
{
|
||||
/*
|
||||
Tag::print(prefix, out);
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
return std::wstring( buf );
|
||||
}
|
||||
|
||||
void print(char *prefix, ostream out)
|
||||
void print(char *prefix, std::ostream out)
|
||||
{
|
||||
printf(prefix);
|
||||
|
||||
|
||||
@@ -47,12 +47,12 @@ bool Tag::equals(Tag *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
void Tag::print(ostream out)
|
||||
void Tag::print(std::ostream out)
|
||||
{
|
||||
out << "";
|
||||
}
|
||||
|
||||
void Tag::print(char *prefix, wostream out)
|
||||
void Tag::print(char *prefix, std::wostream out)
|
||||
{
|
||||
std::wstring name = getName();
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ public:
|
||||
virtual void load(DataInput *dis) = 0;
|
||||
virtual std::wstring toString() = 0;
|
||||
virtual uint8_t getId() = 0;
|
||||
void print(ostream out);
|
||||
void print(char *prefix, wostream out);
|
||||
void print(std::ostream out);
|
||||
void print(char *prefix, std::wostream out);
|
||||
std::wstring getName();
|
||||
Tag *setName(const std::wstring& name);
|
||||
static Tag *readNamedTag(DataInput *dis);
|
||||
|
||||
Reference in New Issue
Block a user