Bugfix for detail window crash, and code cleanup.

This commit is contained in:
Emil Martinec
2012-03-18 11:23:40 -05:00
parent 3c95953725
commit b263308ca1
12 changed files with 53 additions and 1173 deletions

View File

@@ -32,6 +32,12 @@ namespace rtengine {
// %%%%%%%%%%%%%%%%%%%%%%%%%%%
template <typename A>
void copy_out(A * a, A * b, size_t datalen)
{// for standard wavelet decomposition
memcpy(b, a, datalen*sizeof(A));
}
template <typename A, typename B>
void copy_out(A ** a, B * b, size_t datalen)