removed const qualifier (it produces warnings)

This commit is contained in:
Vladislav Vinogradov
2013-04-18 10:27:56 +04:00
parent 0ce10532b3
commit 6d735c11c6
6 changed files with 54 additions and 54 deletions

View File

@@ -94,8 +94,8 @@ namespace canny
texture<uchar, cudaTextureType2D, cudaReadModeElementType> tex_src(false, cudaFilterModePoint, cudaAddressModeClamp);
struct SrcTex
{
const int xoff;
const int yoff;
int xoff;
int yoff;
__host__ SrcTex(int _xoff, int _yoff) : xoff(_xoff), yoff(_yoff) {}
__device__ __forceinline__ int operator ()(int y, int x) const