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/API | |
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/API')
-rw-r--r-- | lldb/source/API/SBPlatform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBPlatform.cpp b/lldb/source/API/SBPlatform.cpp index 97ffcf14975..b8dc01ba781 100644 --- a/lldb/source/API/SBPlatform.cpp +++ b/lldb/source/API/SBPlatform.cpp @@ -189,7 +189,7 @@ SBPlatformShellCommand::~SBPlatformShellCommand() void SBPlatformShellCommand::Clear() { - m_opaque_ptr->m_output = std::move(std::string()); + m_opaque_ptr->m_output = std::string(); m_opaque_ptr->m_status = 0; m_opaque_ptr->m_signo = 0; } |