From f056b75b59fe9fb3ab6a49ba7e3ebe6068994e92 Mon Sep 17 00:00:00 2001 From: TNTwise <77559100+TNTwise@users.noreply.github.com> Date: Mon, 25 Dec 2023 00:58:03 -0600 Subject: [PATCH] Update rife.cpp --- src/rife.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rife.cpp b/src/rife.cpp index 56cff0f..1cee970 100644 --- a/src/rife.cpp +++ b/src/rife.cpp @@ -155,7 +155,7 @@ int RIFE::load(const std::string& modeldir) load_param_model(contextnet, modeldir, L"contextnet"); load_param_model(fusionnet, modeldir, L"fusionnet"); } - }catch{ + }catch(...) { rife_v4=true; rife_v2=false; } @@ -168,7 +168,7 @@ int RIFE::load(const std::string& modeldir) load_param_model(contextnet, modeldir, "contextnet"); load_param_model(fusionnet, modeldir, "fusionnet"); } - }catch{ + }catch(...) { rife_v4=true; rife_v2=false; }