Skip to content

Commit

Permalink
Fix 'Bad cast from' exception on ChromeOS (#28696)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusztabaka authored Jan 28, 2025
1 parent 4951954 commit 3d24df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace ov {

bool util::equal(std::type_index lhs, std::type_index rhs) {
auto result = lhs == rhs;
#if (defined(__ANDROID__) || defined(__APPLE__)) && defined(__clang__)
#if (defined(__ANDROID__) || defined(__APPLE__) || defined(__CHROMIUMOS__)) && defined(__clang__)
if (!result) {
result = std::strcmp(lhs.name(), rhs.name()) == 0;
}
Expand Down

0 comments on commit 3d24df5

Please sign in to comment.