diff options
author | Pavel Labath <labath@google.com> | 2015-07-28 09:18:32 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-07-28 09:18:32 +0000 |
commit | 3a29f8b9ec905f27829b6180c10f0f41fa883f0f (patch) | |
tree | 13efc3f7b775406d65ef3b5aa43271699eb82479 /lldb/source/Host/common/HostInfoBase.cpp | |
parent | e5b47640ee437b49313657aeee7f4e8c08bb0019 (diff) | |
download | bcm5719-llvm-3a29f8b9ec905f27829b6180c10f0f41fa883f0f.tar.gz bcm5719-llvm-3a29f8b9ec905f27829b6180c10f0f41fa883f0f.zip |
Fix warnings detected by -Wpessimizing-move
patch by Eugene Zelenko
Differential Revision: http://reviews.llvm.org/D11429
llvm-svn: 243399
Diffstat (limited to 'lldb/source/Host/common/HostInfoBase.cpp')
-rw-r--r-- | lldb/source/Host/common/HostInfoBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/HostInfoBase.cpp b/lldb/source/Host/common/HostInfoBase.cpp index e969e33190e..7a6ea0c2b84 100644 --- a/lldb/source/Host/common/HostInfoBase.cpp +++ b/lldb/source/Host/common/HostInfoBase.cpp @@ -102,7 +102,7 @@ HostInfoBase::GetVendorString() { static std::once_flag g_once_flag; std::call_once(g_once_flag, []() { - g_fields->m_vendor_string = std::move(HostInfo::GetArchitecture().GetTriple().getVendorName().str()); + g_fields->m_vendor_string = HostInfo::GetArchitecture().GetTriple().getVendorName().str(); }); return g_fields->m_vendor_string; } |