dnn: eliminate MSVC warnings from ngraph.hpp

pull/16522/head
Alexander Alekhin 5 years ago committed by Alexander Alekhin
parent 6d75be03f9
commit ac0a14631d
  1. 8
      modules/dnn/src/ie_ngraph.hpp

@ -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…
Cancel
Save