提交 4acb68d9 编写于 作者: G gineshidalgo99

Fixed old GCC error

上级 1d15592d
......@@ -23,7 +23,7 @@ namespace op
faceRectangles{datum.faceRectangles},
faceKeypoints{datum.faceKeypoints},
handRectangles{datum.handRectangles},
handKeypoints{datum.handKeypoints},
handKeypoints(datum.handKeypoints), // Parentheses instead of braces to avoid error in GCC 4.8
// Other parameters
scaleInputToOutput{datum.scaleInputToOutput},
scaleNetToOutput{datum.scaleNetToOutput},
......
......@@ -98,7 +98,7 @@ error("Hands extraction is not implemented yet. COMING SOON!", __LINE__, __FUNCT
catch (const std::exception& e)
{
error(e.what(), __LINE__, __FUNCTION__, __FILE__);
return std::array<Array<float>, 2>{};
return std::array<Array<float>, 2>(); // Parentheses instead of braces to avoid error in GCC 4.8
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册