diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-30 21:12:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-30 21:12:27 +0300 |
commit | f67bf4f191b394e9c061d0cd386309ad7be05331 (patch) | |
tree | 81772997f2aa0b77542cf28b0f823048770a900a | |
parent | 0a8a140351a533e2fb895228589efd2846b9c697 (diff) |
fix for the oper-optimizing MSVC compiler
4 files changed, 12 insertions, 12 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 573fe90dbb..459983b935 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -302,12 +302,12 @@ UINT CDropboxService::Upload(FileTransferParam *ftp) ///////////////////////////////////////////////////////////////////////////////////////// -struct CMPlugin : public CMPluginBase +struct CMPluginDropbox : public CMPluginBase { - CMPlugin() : + CMPluginDropbox() : CMPluginBase(MODULE "/Dropbox") { RegisterProtocol(PROTOTYPE_PROTOCOL, (pfnInitProto)CDropboxService::Init, (pfnUninitProto)CDropboxService::UnInit); } } -static g_plugin; + g_pluginDropbox; diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp index be818596a6..605d023200 100644 --- a/plugins/CloudFile/src/Services/google_service.cpp +++ b/plugins/CloudFile/src/Services/google_service.cpp @@ -287,12 +287,12 @@ UINT CGDriveService::Upload(FileTransferParam *ftp) ///////////////////////////////////////////////////////////////////////////////////////// -struct CMPlugin : public CMPluginBase +struct CMPluginGoogle : public CMPluginBase { - CMPlugin() : + CMPluginGoogle() : CMPluginBase(MODULE "/GDrive") { RegisterProtocol(PROTOTYPE_PROTOCOL, (pfnInitProto)CGDriveService::Init, (pfnUninitProto)CGDriveService::UnInit); } } -static g_plugin; + g_pluginGoogle; 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; diff --git a/plugins/CloudFile/src/Services/yandex_service.cpp b/plugins/CloudFile/src/Services/yandex_service.cpp index 88419fffc4..f0b09adf4b 100644 --- a/plugins/CloudFile/src/Services/yandex_service.cpp +++ b/plugins/CloudFile/src/Services/yandex_service.cpp @@ -282,12 +282,12 @@ UINT CYandexService::Upload(FileTransferParam *ftp) ///////////////////////////////////////////////////////////////////////////////////////// -struct CMPlugin : public CMPluginBase +struct CMPluginYandex : public CMPluginBase { - CMPlugin() : + CMPluginYandex() : CMPluginBase(MODULE "/YandexDisk") { RegisterProtocol(PROTOTYPE_PROTOCOL, (pfnInitProto)CYandexService::Init, (pfnUninitProto)CYandexService::UnInit); } } -static g_plugin; + g_pluginYandex; |