Skip to content

Commit f99b82d

Browse files
committed
[GCC14]Fix type conversion not using user defined operator warning
1 parent 152b728 commit f99b82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CondFormats/Serialization/interface/eos/portable_iarchive.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ namespace eos {
409409
// created through BOOST_STRONG_TYPEDEF(X, some unsigned int) like
410410
// library_version_type, collection_size_type, item_version_type,
411411
// class_id_type, object_id_type, version_type and tracking_type
412-
load((typename boost::uint_t<sizeof(T) * CHAR_BIT>::least&)(t));
412+
load(static_cast<T::base_type&>(t));
413413
}
414414
};
415415

0 commit comments

Comments
 (0)