"examples/vscode:/vscode.git/clone" did not exist on "533afa851eda85c90cad33332fe989f5d298d69d"
Unverified Commit c9d9e67e authored by vfdev's avatar vfdev Committed by GitHub
Browse files

Fixes #2932 (#2937)

- Replaced tuple creation by one acceptable by majority of compilers
parent 1fe1e110
......@@ -334,6 +334,5 @@ std::tuple<torch::Tensor, double> Video::Next() {
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res;
}
std::tuple<torch::Tensor, double> result = {outFrame, frame_pts_s};
return result;
return std::make_tuple(outFrame, frame_pts_s);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment