ZMQ placeholder

This commit is contained in:
Mohacsi Istvan committed 2021-06-28 13:40:58 +02:00
1 parent 35cebb59e4
commit 9bc39432fb
3 files changed
+125 -1

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ struct ImageBinaryFormat {
ImageMetadata meta;
char* data = nullptr;
const size_t size;
ImageBinaryFormat(size_t H, size_t W, size_t D): size(H*W*D) { data = (char*) calloc(8*H*W*D, sizeof(int)); };
ImageBinaryFormat(size_t H, size_t W, size_t D): size(H*W*D) { data = (char*) calloc(H*W*D, sizeof(int)); };
~ImageBinaryFormat(){ free(data); std::cout << "ImageBinaryFormat destructor called!" << std::endl; }
};