mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-24 21:00:47 +02:00
Add default value to shape
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ struct HeaderDataType
|
||||
std::string endianness;
|
||||
size_t value_bytes_size;
|
||||
|
||||
HeaderDataType(const std::string& type, size_t shape);
|
||||
HeaderDataType(const std::string& type, size_t shape=1);
|
||||
};
|
||||
|
||||
size_t get_type_byte_size(const std::string& type);
|
||||
|
||||
Reference in New Issue
Block a user