From a57798154df8a8e7f9569d626115a57a9498ff27 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 20 Jan 2018 14:06:14 -0800 Subject: [PATCH] Explicitly use std::move to make clang 3.5 compile --- src/indexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexer.cc b/src/indexer.cc index 4088c41c..58f2c133 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -2033,7 +2033,7 @@ optional>> ParseWithTu( entry->dependencies.end()); } - return result; + return std::move(result); } void ConcatTypeAndName(std::string& type, const std::string& name) {