Simon Rozman afb137edee Explicitly clear reused std::vector and u16string after moved from
MSVC C26800 warned us std::vector and std::string are not guaranteed to
be cleared after being moved from in all standard C++ implementations.

As we reuse those objects and rely they are cleared, do an explicit
clear. We could have one-time-use objects and add scopes, but that makes
code ugly.

Reference: https://stackoverflow.com/a/17735913/2071884
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-10-28 13:45:51 +02:00
..
2022-02-17 15:06:50 +01:00
2022-01-07 11:38:32 +01:00
2022-01-07 11:38:32 +01:00
2022-02-03 13:45:53 +01:00
2022-01-07 11:38:32 +01:00
2022-03-07 11:43:53 +01:00
2022-09-15 15:33:08 +02:00
2022-01-07 11:38:32 +01:00
2022-09-15 15:33:08 +02:00
2022-09-15 15:33:08 +02:00
2022-01-07 11:38:32 +01:00
2022-01-07 11:38:32 +01:00