ZMQ placeholder

This commit is contained in:
Mohacsi Istvan
2021-06-28 13:40:58 +02:00
parent 35cebb59e4
commit 9bc39432fb
3 changed files with 125 additions and 1 deletions
+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; }
};