read properties stream to size of properties object, not 1

This commit is contained in:
karenzshea
2016-10-21 13:52:27 -07:00
committed by Huyen Chau Nguyen
parent 51ebadfc45
commit c4f010e363
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -771,8 +771,8 @@ Storage::ReturnCode Storage::Run(int max_wait)
util::exception("Could not open " + config.properties_path.string() + " for reading!");
}
io::readProperties(profile_properties_stream,
reinterpret_cast<char *>(profile_properties_ptr),
PropertiesSize);
profile_properties_ptr,
sizeof(extractor::ProfileProperties));
// load intersection classes
if (!bearing_class_id_table.empty())