From e8149b00b68b15cedc75107868d6a55c6f6bc6c1 Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Wed, 27 Mar 2024 16:52:01 -0700 Subject: [PATCH] Fix missing std::any_cast Signed-off-by: Darby Johnston --- src/opentimelineio/deserialization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opentimelineio/deserialization.cpp b/src/opentimelineio/deserialization.cpp index 604aa2155..5bfa60a6d 100644 --- a/src/opentimelineio/deserialization.cpp +++ b/src/opentimelineio/deserialization.cpp @@ -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(e->second); + return &std::any_cast(e->second); } return nullptr; }