Summary:
Moving a temporary object prevents copy elision, which is exactly
what clang points out by warning about this pattern.
The fix is simply removal of std::move applied to temporary objects.
Differential Revision: https://reviews.llvm.org/D23825
---
tools/debugserver/source/JSON.cpp | 20 +
Summary:
Moving a temporary object prevents copy elision, which is exactly
what clang points out by warning about this pattern.
The fix is simply removal of std::move applied to temporary objects.
Differential Revision: https://reviews.llvm.org/D23825
---
tools/debugserver/source/JSON.cpp | 20 +