mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 03:16:38 +10:00
Use C++17 by default
Plus C++ standard conformance fixes.
This commit is contained in:
@@ -16,7 +16,7 @@ bool CreateFakeFolder( const wchar_t *source, const wchar_t *fname )
|
||||
HRESULT hr=pLink.CoCreateInstance(CLSID_ShellLink);
|
||||
if (FAILED(hr)) return false;
|
||||
pLink->SetPath(source);
|
||||
CComQIPtr<IPersistFile> pFile=pLink;
|
||||
CComQIPtr<IPersistFile> pFile(pLink);
|
||||
if (!pFile) return false;
|
||||
hr=pFile->Save(path,TRUE);
|
||||
if (FAILED(hr)) return false;
|
||||
|
||||
Reference in New Issue
Block a user