[SourceKit] Fix some -Wpessimizing-move issues.

No functionality change.
This commit is contained in:
Jordan Rose
2016-01-06 16:23:41 -08:00
parent 33a6cce188
commit 0d03ea31b2
2 changed files with 5 additions and 5 deletions

View File

@@ -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() {