提交 378b8bde 编写于 作者: R Ruslan Baratov

[CUDA] Return EXIT_FAILURE on error

上级 9e1435d6
......@@ -42,5 +42,5 @@
void pcl::gpu::error(const char *error_string, const char *file, const int line, const char *func)
{
std::cout << "Error: " << error_string << "\t" << file << ":" << line << std::endl;
exit(0);
exit(EXIT_FAILURE);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册