Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
This commit is contained in:
@@ -286,8 +286,7 @@ class MemoryBuffer {
|
||||
}
|
||||
}
|
||||
|
||||
void read_elem_filtered(
|
||||
const float x, const float y, float dx[2], float dy[2], float *out) const;
|
||||
void read_elem_filtered(float x, float y, float dx[2], float dy[2], float *out) const;
|
||||
|
||||
/**
|
||||
* Get channel value at given coordinates.
|
||||
@@ -722,18 +721,15 @@ class MemoryBuffer {
|
||||
void copy_single_elem_from(const MemoryBuffer *src,
|
||||
int channel_offset,
|
||||
int elem_size,
|
||||
const int to_channel_offset);
|
||||
void copy_rows_from(const MemoryBuffer *src,
|
||||
const rcti &src_area,
|
||||
const int to_x,
|
||||
const int to_y);
|
||||
int to_channel_offset);
|
||||
void copy_rows_from(const MemoryBuffer *src, const rcti &src_area, int to_x, int to_y);
|
||||
void copy_elems_from(const MemoryBuffer *src,
|
||||
const rcti &area,
|
||||
const int channel_offset,
|
||||
const int elem_size,
|
||||
const int to_x,
|
||||
const int to_y,
|
||||
const int to_channel_offset);
|
||||
int channel_offset,
|
||||
int elem_size,
|
||||
int to_x,
|
||||
int to_y,
|
||||
int to_channel_offset);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("COM:MemoryBuffer")
|
||||
|
||||
Reference in New Issue
Block a user