fix(Metadata): byteSize_ changed from std::size_t to int to avoid implicit type conversion
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
friend std::ostream& operator<<(std::ostream& os, const Metadata& metadata);
|
||||
|
||||
private:
|
||||
std::size_t byteSize_ = 0; ///< Total size of the data in bytes.
|
||||
int byteSize_ = 0; ///< Total size of the data in bytes.
|
||||
std::string dataType_; ///< Type of the data (e.g., "float", "double").
|
||||
std::vector<std::size_t> dimensions_; ///< Dimensions of the data (e.g., {3, 4} for a 3x4 matrix).
|
||||
bool debugFlag_ = false; ///< Indicates whether debugging is enabled.
|
||||
|
||||
Reference in New Issue
Block a user