mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 04:52:53 +08:00
removed trailing semicolon after function
It gives error when building projects with -Wpedantic -Werror error: extra ‘;’ [-Werror=pedantic] Issue ##23916
This commit is contained in:
parent
8839bd572e
commit
71796edf95
@ -577,7 +577,7 @@ CV_EXPORTS_W void ensureSizeIsEnough(int rows, int cols, int type, OutputArray a
|
|||||||
*/
|
*/
|
||||||
CV_EXPORTS_W GpuMat inline createGpuMatFromCudaMemory(int rows, int cols, int type, size_t cudaMemoryAddress, size_t step = Mat::AUTO_STEP) {
|
CV_EXPORTS_W GpuMat inline createGpuMatFromCudaMemory(int rows, int cols, int type, size_t cudaMemoryAddress, size_t step = Mat::AUTO_STEP) {
|
||||||
return GpuMat(rows, cols, type, reinterpret_cast<void*>(cudaMemoryAddress), step);
|
return GpuMat(rows, cols, type, reinterpret_cast<void*>(cudaMemoryAddress), step);
|
||||||
};
|
}
|
||||||
|
|
||||||
/** @overload
|
/** @overload
|
||||||
@param size 2D array size: Size(cols, rows). In the Size() constructor, the number of rows and the number of columns go in the reverse order.
|
@param size 2D array size: Size(cols, rows). In the Size() constructor, the number of rows and the number of columns go in the reverse order.
|
||||||
@ -588,7 +588,7 @@ CV_EXPORTS_W GpuMat inline createGpuMatFromCudaMemory(int rows, int cols, int ty
|
|||||||
*/
|
*/
|
||||||
CV_EXPORTS_W inline GpuMat createGpuMatFromCudaMemory(Size size, int type, size_t cudaMemoryAddress, size_t step = Mat::AUTO_STEP) {
|
CV_EXPORTS_W inline GpuMat createGpuMatFromCudaMemory(Size size, int type, size_t cudaMemoryAddress, size_t step = Mat::AUTO_STEP) {
|
||||||
return GpuMat(size, type, reinterpret_cast<void*>(cudaMemoryAddress), step);
|
return GpuMat(size, type, reinterpret_cast<void*>(cudaMemoryAddress), step);
|
||||||
};
|
}
|
||||||
|
|
||||||
/** @brief BufferPool for use with CUDA streams
|
/** @brief BufferPool for use with CUDA streams
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user