Sfoglia il codice sorgente

any: minor changes

Michele Caini 5 anni fa
parent
commit
0f95d02cdc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/entt/core/any.hpp

+ 1 - 0
src/entt/core/any.hpp

@@ -58,6 +58,7 @@ class basic_any {
                     break;
                 case operation::MOVE:
                     as<basic_any>(to).instance = from.instance;
+                    [[fallthrough]];
                 case operation::DTOR:
                     break;
                 case operation::COMP: