win32/Com: remove the unused COINIT_MULTITHREADED constructor
This commit is contained in:
parent
6a75c48dba
commit
f2c679cfec
|
@ -28,14 +28,6 @@
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/_com/
|
||||
class COM {
|
||||
public:
|
||||
COM() {
|
||||
if (HRESULT result = CoInitializeEx(nullptr, COINIT_MULTITHREADED);
|
||||
FAILED(result)) {
|
||||
throw MakeHResultError(
|
||||
result,
|
||||
"Unable to initialize COM with COINIT_MULTITHREADED");
|
||||
}
|
||||
}
|
||||
COM(bool) {
|
||||
if (HRESULT result = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
|
||||
FAILED(result)) {
|
||||
|
|
Loading…
Reference in New Issue