Fix compatibility with old compiler versions 3.
This commit is contained in:
parent
ea40f960b4
commit
7d3d4be973
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ namespace AkVCam
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
WINBOOL CALLBACK AkVCamEnumWindowsProc(HWND handler, LPARAM userData);
|
WINBOOL AkVCamEnumWindowsProc(HWND handler, LPARAM userData);
|
||||||
|
|
||||||
AkVCam::BaseFilter::BaseFilter(const GUID &clsid,
|
AkVCam::BaseFilter::BaseFilter(const GUID &clsid,
|
||||||
const std::string &filterName,
|
const std::string &filterName,
|
||||||
|
@ -500,7 +500,7 @@ void AkVCam::BaseFilterPrivate::setControls(void *userData,
|
||||||
AkVCamDevicePinCall(deviceId, self, setControls, controls)
|
AkVCamDevicePinCall(deviceId, self, setControls, controls)
|
||||||
}
|
}
|
||||||
|
|
||||||
WINBOOL CALLBACK AkVCamEnumWindowsProc(HWND handler, LPARAM userData)
|
WINBOOL AkVCamEnumWindowsProc(HWND handler, LPARAM userData)
|
||||||
{
|
{
|
||||||
auto handlers = reinterpret_cast<std::vector<HWND> *>(userData);
|
auto handlers = reinterpret_cast<std::vector<HWND> *>(userData);
|
||||||
handlers->push_back(handler);
|
handlers->push_back(handler);
|
||||||
|
|
Loading…
Reference in a new issue