Skip to content

Commit

Permalink
Fix missing std::any_cast
Browse files Browse the repository at this point in the history
Signed-off-by: Darby Johnston <[email protected]>
  • Loading branch information
darbyjohnston committed Mar 27, 2024
1 parent 33661eb commit e8149b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opentimelineio/deserialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class JSONDecoder : public OTIO_rapidjson::
auto e = d.find(key);
if (e != d.end() && typeid(T) == e->second.type())
{
return &any_cast<const T&>(e->second);
return &std::any_cast<const T&>(e->second);
}
return nullptr;
}
Expand Down

0 comments on commit e8149b0

Please sign in to comment.