@@ -59,7 +59,7 @@ Lotus::Common::Status LotusOpSchemaRegistry::RegisterOpSchemaInternal(ONNX_NAMES
5959
6060 if (map_[op_name][op_domain].count (ver)) {
6161 const auto & schema = map_[op_name][op_domain][ver];
62- std::stringstream ostream;
62+ std::ostringstream ostream;
6363 ostream << " Trying to register schema with name " << op_name
6464 << " (domain: " << op_domain << " version: " << ver
6565 << " ) from file " << op_schema.file () << " line "
@@ -71,7 +71,7 @@ Lotus::Common::Status LotusOpSchemaRegistry::RegisterOpSchemaInternal(ONNX_NAMES
7171
7272 auto ver_range_it = domain_version_range_map_.find (op_domain);
7373 if (ver_range_it == domain_version_range_map_.end ()) {
74- std::stringstream ostream;
74+ std::ostringstream ostream;
7575 ostream << " Trying to register schema with name " << op_name
7676 << " (domain: " << op_domain << " version: " << ver
7777 << " ) from file " << op_schema.file () << " line "
@@ -80,7 +80,7 @@ Lotus::Common::Status LotusOpSchemaRegistry::RegisterOpSchemaInternal(ONNX_NAMES
8080 return Lotus::Common::Status (Lotus::Common::LOTUS, Lotus::Common::INVALID_ARGUMENT, ostream.str ());
8181 }
8282 if (ver > ver_range_it->second .opset_version ) {
83- std::stringstream ostream;
83+ std::ostringstream ostream;
8484 ostream
8585 << " Trying to register schema with name " << op_name
8686 << " (domain: " << op_domain << " version: " << ver
0 commit comments