Small naming improvements

This commit is contained in:
2018-07-05 14:23:01 +02:00
parent 5bca17e74d
commit 09b3a3f80c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,8 +8,8 @@
using namespace std;
namespace pt = boost::property_tree;
HeaderDataType::HeaderDataType(const std::string& type, size_t value_shape) :
type(type), value_shape(value_shape), endianness("little") {
HeaderDataType::HeaderDataType(const std::string& type, size_t shape) :
type(type), value_shape(shape), endianness("little") {
value_bytes_size = get_type_byte_size(type);
}
+1 -1
View File
@@ -19,7 +19,7 @@ struct HeaderDataType
std::string endianness;
size_t value_bytes_size;
HeaderDataType(const std::string& type, size_t n_values);
HeaderDataType(const std::string& type, size_t shape);
};
size_t get_type_byte_size(const std::string& type);