summaryrefslogtreecommitdiffstats
path: root/core/packed_data_container.cpp
diff options
context:
space:
mode:
authorhbina085 <hanif.ariffin.4326@gmail.com>2019-06-28 23:09:59 -0400
committerhbina085 <hanif.ariffin.4326@gmail.com>2019-06-29 16:08:48 -0400
commit9f0c6a60095025cb7f67a36ffa81e8709d645a66 (patch)
tree2d4419aaf70b84fe81e26dc9227ef6940437d217 /core/packed_data_container.cpp
parent3942c939e3ed152d4cf9647411f34d1bc14cdec2 (diff)
downloadredot-engine-9f0c6a60095025cb7f67a36ffa81e8709d645a66.tar.gz
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
Diffstat (limited to 'core/packed_data_container.cpp')
-rw-r--r--core/packed_data_container.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/packed_data_container.cpp b/core/packed_data_container.cpp
index fa60be64a7..54bf12b314 100644
--- a/core/packed_data_container.cpp
+++ b/core/packed_data_container.cpp
@@ -224,7 +224,8 @@ uint32_t PackedDataContainer::_pack(const Variant &p_data, Vector<uint8_t> &tmpd
string_cache[s] = tmpdata.size();
- }; //fallthrough
+ FALLTHROUGH;
+ };
case Variant::NIL:
case Variant::BOOL:
case Variant::INT: