diff options
Diffstat (limited to 'plugins/FTPFileYM/src')
-rw-r--r-- | plugins/FTPFileYM/src/deletetimer.h | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/job_generic.h | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/manager.h | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/options.h | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/serverlist.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/FTPFileYM/src/deletetimer.h b/plugins/FTPFileYM/src/deletetimer.h index 59159aa3da..1daec28b3b 100644 --- a/plugins/FTPFileYM/src/deletetimer.h +++ b/plugins/FTPFileYM/src/deletetimer.h @@ -28,7 +28,7 @@ private: UINT timerId;
DeleteTimer() { };
- ~DeleteTimer() { instance = NULL; };
+ ~DeleteTimer() { instance = nullptr; };
static void CALLBACK AutoDeleteTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime);
diff --git a/plugins/FTPFileYM/src/job_generic.h b/plugins/FTPFileYM/src/job_generic.h index ffc370958d..b81c6e5f5e 100644 --- a/plugins/FTPFileYM/src/job_generic.h +++ b/plugins/FTPFileYM/src/job_generic.h @@ -28,7 +28,7 @@ private: HANDLE handle;
public:
- Event() { handle = CreateEvent (0, FALSE, FALSE, 0); }
+ Event() { handle = CreateEvent(nullptr, FALSE, FALSE, nullptr); }
~Event() { CloseHandle (handle); }
operator HANDLE () { return handle; }
diff --git a/plugins/FTPFileYM/src/manager.h b/plugins/FTPFileYM/src/manager.h index 52983d6f5a..6eb3a541a9 100644 --- a/plugins/FTPFileYM/src/manager.h +++ b/plugins/FTPFileYM/src/manager.h @@ -70,7 +70,7 @@ public: ~Manager();
- void AddRoot(HTREEITEM h) { m_rootItems.push_back(new TreeItem(h,NULL,0)); }
+ void AddRoot(HTREEITEM h) { m_rootItems.push_back(new TreeItem(h, nullptr, 0)); }
void AddLeaf(HTREEITEM h, HTREEITEM p, int id) { m_items.push_back(new TreeItem(h,p,id)); }
static Manager *getInstance()
diff --git a/plugins/FTPFileYM/src/options.h b/plugins/FTPFileYM/src/options.h index 802f3c1e3c..e4bd98fbc8 100644 --- a/plugins/FTPFileYM/src/options.h +++ b/plugins/FTPFileYM/src/options.h @@ -27,7 +27,7 @@ private: static Options *instance;
Options() { };
- ~Options() { instance = NULL; };
+ ~Options() { instance = nullptr; };
public:
enum ETimeRange
diff --git a/plugins/FTPFileYM/src/serverlist.h b/plugins/FTPFileYM/src/serverlist.h index 05b2e66724..0b41d0b4e7 100644 --- a/plugins/FTPFileYM/src/serverlist.h +++ b/plugins/FTPFileYM/src/serverlist.h @@ -25,7 +25,7 @@ class ServerList private:
static ServerList *instance;
ServerList() { };
- ~ServerList() { instance = NULL; };
+ ~ServerList() { instance = nullptr; };
public:
class FTP
|