1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

build: fix/eliminate MSVC warnings

This commit is contained in:
Alexander Alekhin
2022-12-10 02:08:48 +00:00
parent 281b790618
commit be326ff752
8 changed files with 35 additions and 18 deletions
@@ -41,7 +41,6 @@ namespace onevpl {
std::shared_ptr<IDeviceSelector> getDefaultDeviceSelector(const std::vector<CfgParam>&) {
std::cerr << "Cannot utilize getDefaultVPLDeviceAndCtx without HAVE_ONEVPL enabled" << std::endl;
util::throw_error(std::logic_error("Cannot utilize getDefaultVPLDeviceAndCtx without HAVE_ONEVPL enabled"));
return nullptr;
}
} // namespace onevpl