Skip to content

Commit 3d24df5

Browse files
Fix 'Bad cast from' exception on ChromeOS (openvinotoolkit#28696)
1 parent 4951954 commit 3d24df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/src/any.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace ov {
2222

2323
bool util::equal(std::type_index lhs, std::type_index rhs) {
2424
auto result = lhs == rhs;
25-
#if (defined(__ANDROID__) || defined(__APPLE__)) && defined(__clang__)
25+
#if (defined(__ANDROID__) || defined(__APPLE__) || defined(__CHROMIUMOS__)) && defined(__clang__)
2626
if (!result) {
2727
result = std::strcmp(lhs.name(), rhs.name()) == 0;
2828
}

0 commit comments

Comments
 (0)