projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LuaVoxelManip: Add option to allocate blank data
[oweals/minetest.git]
/
src
/
nodemetadata.cpp
diff --git
a/src/nodemetadata.cpp
b/src/nodemetadata.cpp
index 0631d974adfb1b31ebffa8f752c75d03473f7982..b8c7d3d9c11722cefec153c769bc2cb2df32985f 100644
(file)
--- a/
src/nodemetadata.cpp
+++ b/
src/nodemetadata.cpp
@@
-83,7
+83,7
@@
void NodeMetadataList::serialize(std::ostream &os) const
Version 0 is a placeholder for "nothing to see here; go away."
*/
- if(m_data.
size() == 0
){
+ if(m_data.
empty()
){
writeU8(os, 0); // version
return;
}