mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Fix some -Wpessimizing-move issues.
No functionality change.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
using namespace SourceKit;
|
||||
|
||||
SourceKit::Context::Context(StringRef RuntimeLibPath)
|
||||
: RuntimeLibPath(RuntimeLibPath) {
|
||||
NotificationCtr.reset(new NotificationCenter());
|
||||
SwiftLang = std::move(LangSupport::createSwiftLangSupport(*this));
|
||||
: RuntimeLibPath(RuntimeLibPath),
|
||||
SwiftLang(LangSupport::createSwiftLangSupport(*this)),
|
||||
NotificationCtr(new NotificationCenter()) {
|
||||
}
|
||||
|
||||
SourceKit::Context::~Context() {
|
||||
|
||||
Reference in New Issue
Block a user