summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/FastNBT.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:42:18 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:42:18 +0200
commitc1ffed60eccc8748a21acfdce133eae5119d5371 (patch)
tree2dd1fbab63a77f6bf9c8a59bb250b601473a69b7 /src/WorldStorage/FastNBT.h
parentBroadcaster: don't loop over all entities to broadcast one's position (diff)
downloadcuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar.gz
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar.bz2
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar.lz
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar.xz
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.tar.zst
cuberite-c1ffed60eccc8748a21acfdce133eae5119d5371.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/FastNBT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/FastNBT.h b/src/WorldStorage/FastNBT.h
index 2e1246ccf..257115fe1 100644
--- a/src/WorldStorage/FastNBT.h
+++ b/src/WorldStorage/FastNBT.h
@@ -334,7 +334,7 @@ public:
void AddLong (const AString & a_Name, Int64 a_Value);
void AddFloat (const AString & a_Name, float a_Value);
void AddDouble (const AString & a_Name, double a_Value);
- void AddString (const AString & a_Name, const AString & a_Value);
+ void AddString (const AString & a_Name, std::string_view a_Value);
void AddByteArray(const AString & a_Name, const char * a_Value, size_t a_NumElements);
void AddIntArray (const AString & a_Name, const Int32 * a_Value, size_t a_NumElements);