diff options
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Host/common/Editline.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp index d49dc8f7e2e..2f811c9d8b1 100644 --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -203,7 +203,7 @@ namespace lldb_private { snprintf (history_path, sizeof (history_path), "~/%s-widehistory", m_prefix.c_str()); } - m_path = std::move (FileSpec (history_path, true).GetPath()); + m_path = FileSpec (history_path, true).GetPath(); } if (m_path.empty()) return NULL; diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index f9a588c9709..7a2538fcbf5 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -1621,7 +1621,7 @@ PlatformDarwin::GetOSVersion (uint32_t &major, } else if (env_str.startswith(k_dyld_root_path)) { - dyld_root_path = std::move(env_str.substr(k_dyld_root_path.size()).str()); + dyld_root_path = env_str.substr(k_dyld_root_path.size()).str(); } } } |

