win32/Com: remove the unused COINIT_MULTITHREADED constructor
This commit is contained in:
		| @@ -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)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann