From f67bf4f191b394e9c061d0cd386309ad7be05331 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Mar 2018 21:12:27 +0300 Subject: fix for the oper-optimizing MSVC compiler --- plugins/CloudFile/src/Services/microsoft_service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CloudFile/src/Services/microsoft_service.cpp') diff --git a/plugins/CloudFile/src/Services/microsoft_service.cpp b/plugins/CloudFile/src/Services/microsoft_service.cpp index 3366779d33..4b598e9bfb 100644 --- a/plugins/CloudFile/src/Services/microsoft_service.cpp +++ b/plugins/CloudFile/src/Services/microsoft_service.cpp @@ -276,12 +276,12 @@ UINT COneDriveService::Upload(FileTransferParam *ftp) ///////////////////////////////////////////////////////////////////////////////////////// -struct CMPlugin : public CMPluginBase +struct CMPluginOnedrive : public CMPluginBase { - CMPlugin() : + CMPluginOnedrive() : CMPluginBase(MODULE "/OneDrive") { RegisterProtocol(PROTOTYPE_PROTOCOL, (pfnInitProto)COneDriveService::Init, (pfnUninitProto)COneDriveService::UnInit); } } -static g_plugin; + g_pluginOnedrive; -- cgit v1.2.3