mirror of
https://github.com/opencv/opencv.git
synced 2025-06-10 02:53:07 +08:00
dnn: eliminate MSVC warnings from ngraph.hpp
This commit is contained in:
parent
6d75be03f9
commit
ac0a14631d
@ -12,7 +12,15 @@
|
||||
|
||||
#ifdef HAVE_DNN_NGRAPH
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4245)
|
||||
#pragma warning(disable : 4268)
|
||||
#endif
|
||||
#include <ngraph/ngraph.hpp>
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#endif // HAVE_DNN_NGRAPH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user