mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[codemod][llvm15] LLVM-15 fixes for caffe2/test/cpp/jit/test_graph_executor.cpp (#89936)
Summary: This fixes issues which block `caffe2/test/cpp/jit/test_graph_executor.cpp` from compiling with LLVM-15. Test Plan: Sandcastle Reviewed By: meyering Differential Revision: D41603459 Pull Request resolved: https://github.com/pytorch/pytorch/pull/89936 Approved by: https://github.com/soumith
This commit is contained in:
parent
6317311e61
commit
cc01614186
|
|
@ -59,7 +59,7 @@ TEST(GraphExecutorTest, runAsync_executor) {
|
|||
mtx.lock();
|
||||
++asyncCounter;
|
||||
mtx.unlock();
|
||||
at::launch(move(f));
|
||||
at::launch(std::move(f));
|
||||
};
|
||||
std::vector<IValue> stack;
|
||||
// NOLINTNEXTLINE(modernize-use-emplace)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user