[CPU]Remove C4250 warning suppress, and fix the corresponding warning. (#15966)
This commit is contained in:
@@ -5,15 +5,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "intel_gpu/runtime/profiling.hpp"
|
||||
#include "openvino/util/util.hpp"
|
||||
#include "ocl_base_event.hpp"
|
||||
#include <memory>
|
||||
#include <list>
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4250) // Visual Studio warns us about inheritance via dominance but it's done intentionally
|
||||
// so turn it off
|
||||
#endif
|
||||
DISABLE_WARNING_MSVC_BEGIN(4250) // Visual Studio warns us about inheritance via dominance but it's done intentionally
|
||||
// so turn it off
|
||||
|
||||
namespace cldnn {
|
||||
namespace ocl {
|
||||
@@ -43,9 +41,7 @@ private:
|
||||
bool is_set_impl() override;
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
DISABLE_WARNING_MSVC_END(4250)
|
||||
|
||||
} // namespace ocl
|
||||
} // namespace cldnn
|
||||
|
||||
Reference in New Issue
Block a user