mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
compilation with no cuda re factored
This commit is contained in:
@@ -44,7 +44,13 @@
|
||||
/* End of file. */
|
||||
|
||||
|
||||
extern "C" void cv::gpu::error( const char *error_string, const char *file, const int line, const char *func)
|
||||
{
|
||||
cv::error( cv::Exception(CV_GpuApiCallError, error_string, func, file, line) );
|
||||
}
|
||||
namespace cv
|
||||
{
|
||||
namespace gpu
|
||||
{
|
||||
extern "C" void error(const char *error_string, const char *file, const int line, const char *func)
|
||||
{
|
||||
cv::error( cv::Exception(CV_GpuApiCallError, error_string, func, file, line) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user