Remove redundant "std::move"s in return statements
This commit is contained in:
1 parent
a67db83681
commit
1c2241a793
137 files changed
+506
-506
No files matched your search
@@ -37,7 +37,7 @@ DebugStringTableSubsectionRef::getString(uint32_t Offset) const {
|
||||
Reader.setOffset(Offset);
|
||||
StringRef Result;
|
||||
if (auto EC = Reader.readCString(Result))
|
||||
return std::move(EC);
|
||||
return EC;
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user