diff options
author | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-06-28 23:09:59 -0400 |
---|---|---|
committer | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-06-29 16:08:48 -0400 |
commit | 9f0c6a60095025cb7f67a36ffa81e8709d645a66 (patch) | |
tree | 2d4419aaf70b84fe81e26dc9227ef6940437d217 /core/packed_data_container.cpp | |
parent | 3942c939e3ed152d4cf9647411f34d1bc14cdec2 (diff) | |
download | redot-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.cpp | 3 |
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: |