Преглед изворни кода

Fix compile error on travis

Tatsuhiro Tsujikawa пре 9 година
родитељ
комит
22e18e5983
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/RpcMethodImpl.cc

+ 1 - 1
src/RpcMethodImpl.cc

@@ -1436,7 +1436,7 @@ std::unique_ptr<ValueBase> SystemListMethodsRpcMethod::process
     list->append(s);
   }
 
-  return list;
+  return std::move(list);
 }
 
 RpcResponse SystemListMethodsRpcMethod::execute(RpcRequest req,