summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBPlatform.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-07-28 09:18:32 +0000
committerPavel Labath <labath@google.com>2015-07-28 09:18:32 +0000
commit3a29f8b9ec905f27829b6180c10f0f41fa883f0f (patch)
tree13efc3f7b775406d65ef3b5aa43271699eb82479 /lldb/source/API/SBPlatform.cpp
parente5b47640ee437b49313657aeee7f4e8c08bb0019 (diff)
downloadbcm5719-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/SBPlatform.cpp')
-rw-r--r--lldb/source/API/SBPlatform.cpp2
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;
}
OpenPOWER on IntegriCloud