GH-1047 build fixes
This commit is contained in:
parent
38693e1d6c
commit
b8cdcdb96b
@ -91,7 +91,7 @@ NBT___EXPORT void write_big(std::ostream& os, float x);
|
|||||||
NBT___EXPORT void write_big(std::ostream& os, double x);
|
NBT___EXPORT void write_big(std::ostream& os, double x);
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
NBT___EXPORT void read(std::istream& is, T& x, endian e)
|
void read(std::istream& is, T& x, endian e)
|
||||||
{
|
{
|
||||||
if(e == little)
|
if(e == little)
|
||||||
read_little(is, x);
|
read_little(is, x);
|
||||||
@ -100,7 +100,7 @@ NBT___EXPORT void read(std::istream& is, T& x, endian e)
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
NBT___EXPORT void write(std::ostream& os, T x, endian e)
|
void write(std::ostream& os, T x, endian e)
|
||||||
{
|
{
|
||||||
if(e == little)
|
if(e == little)
|
||||||
write_little(os, x);
|
write_little(os, x);
|
||||||
|
@ -38,6 +38,7 @@ namespace text
|
|||||||
class NBT___EXPORT json_formatter
|
class NBT___EXPORT json_formatter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
json_formatter() {};
|
||||||
void print(std::ostream& os, const tag& t) const;
|
void print(std::ostream& os, const tag& t) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user