fixed build without cuda

pull/13383/head
Andrey Morozov 14 years ago
parent 001bbfb4f9
commit 1ac097ce57
  1. 2
      modules/gpu/src/matrix_operations.cpp

@ -68,7 +68,7 @@ namespace cv
void GpuMat::release() { throw_nogpu(); }
void MatPL::create(int /*_rows*/, int /*_cols*/, int /*_type*/, int /*type_alloc*/) { throw_nogpu(); }
bool MatPL::can_device_map_to_host() { throw_nogpu(); }
bool MatPL::can_device_map_to_host() { throw_nogpu(); return false; }
void MatPL::release() { throw_nogpu(); }
}

Loading…
Cancel
Save