Skip to content

Commit

Permalink
Make Type copy assign operator constexpr
Browse files Browse the repository at this point in the history
Signed-off-by: Raasz, Pawel <[email protected]>
  • Loading branch information
praasz committed Jan 23, 2025
1 parent 08f5388 commit 0b6e673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/include/openvino/core/type/element_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class OPENVINO_API Type {
constexpr Type(const Type&) = default;
constexpr Type(const Type_t t) : m_type{t} {}
explicit Type(const std::string& type);
Type& operator=(const Type&) = default;
constexpr Type& operator=(const Type&) = default;
std::string c_type_string() const;
size_t size() const;
size_t hash() const;
Expand Down

0 comments on commit 0b6e673

Please sign in to comment.