Work around a bug in clang's static analyzer
Due to https://bugs.llvm.org/show_bug.cgi?id=34198, clang's static analyzer emits diagnostics about leaking `container`. Doing this assignment in two steps works around this, and shouldn't cause these issues.
Showing
Please
register
or
sign in
to comment