diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-06 23:46:38 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-06 23:46:38 +0200 |
commit | b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7 (patch) | |
tree | f462a0abdbce52a120d816cf60f0b9d00c4cab1a /depends/libnbtplusplus/include/endian_str.h | |
parent | 38693e1d6ca7f05d9488348ddf298488d1cc0995 (diff) | |
download | MultiMC-b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7.tar MultiMC-b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7.tar.gz MultiMC-b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7.tar.lz MultiMC-b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7.tar.xz MultiMC-b8cdcdb96b4267e5dd9f4df2728df3a1dfb9ecf7.zip |
GH-1047 build fixes
Diffstat (limited to 'depends/libnbtplusplus/include/endian_str.h')
-rw-r--r-- | depends/libnbtplusplus/include/endian_str.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/depends/libnbtplusplus/include/endian_str.h b/depends/libnbtplusplus/include/endian_str.h index ac8e8986..4a3151c3 100644 --- a/depends/libnbtplusplus/include/endian_str.h +++ b/depends/libnbtplusplus/include/endian_str.h @@ -91,7 +91,7 @@ NBT___EXPORT void write_big(std::ostream& os, float x); NBT___EXPORT void write_big(std::ostream& os, double x); 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) read_little(is, x); @@ -100,7 +100,7 @@ NBT___EXPORT void read(std::istream& is, T& x, endian e) } 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) write_little(os, x); |