Return dataset type as constant reference

This commit is contained in:
2018-02-08 10:54:30 +01:00
parent b882144a62
commit 5f4c3a939c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ const boost::any& H5FormatUtils::get_value_from_reference(const string& dataset_
}
}
H5::PredType H5FormatUtils::get_dataset_data_type(const string& type)
const H5::PredType& H5FormatUtils::get_dataset_data_type(const string& type)
{
#ifdef DEBUG_OUTPUT
cout << "[H5FormatUtils::get_dataset_data_type] Getting dataset type for received frame type " << type << endl;