]> git.sesse.net Git - casparcg/blobdiff - common/scope_exit.h
[version.tmpl] Changed tag to Beta 1
[casparcg] / common / scope_exit.h
index 39dc0f3e8f4c6c5bee46b2bc6b8ceae516337794..f433f1e1fff26a3cef5b43f699f3e4068cfdfe2f 100644 (file)
@@ -49,7 +49,10 @@ namespace detail
                        catch(...)
                        {
                                if(!std::uncaught_exception()) 
+#pragma warning(push)
+#pragma warning(disable: 4297)
                                        throw;
+#pragma warning(pop)
                                else
                                        CASPAR_LOG_CURRENT_EXCEPTION();
                        }