diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-05-22 17:52:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-05-22 17:52:04 +0000 |
commit | 711ae12ac0b86f6dbfe8bfd12d4988966ac77ecb (patch) | |
tree | ca4f5d6f43534e66e0702ef9c4a668c777479438 /lld/unittests | |
parent | d09ce83579735f51cbfa3252a7da0762ec75f4d4 (diff) |
Remove redundant std::move on functions that return a unique_ptr.
Diffstat (limited to 'lld/unittests')
-rw-r--r-- | lld/unittests/DriverTests/GnuLdDriverTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/unittests/DriverTests/GnuLdDriverTest.cpp b/lld/unittests/DriverTests/GnuLdDriverTest.cpp index 92eb920f018..db8a48d4a34 100644 --- a/lld/unittests/DriverTests/GnuLdDriverTest.cpp +++ b/lld/unittests/DriverTests/GnuLdDriverTest.cpp @@ -31,7 +31,7 @@ class LinkerScriptTest : public testing::Test { protected: void SetUp() override { llvm::Triple triple(llvm::sys::getDefaultTargetTriple()); - _ctx = std::move(GnuLdDriver::createELFLinkingContext(triple)); + _ctx = GnuLdDriver::createELFLinkingContext(triple); } void parse(StringRef script, bool nostdlib = false) { |