summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/FTPFileYM
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/FTPFileYM')
-rw-r--r--plugins/FTPFileYM/src/deletetimer.h2
-rw-r--r--plugins/FTPFileYM/src/job_generic.h2
-rw-r--r--plugins/FTPFileYM/src/manager.h2
-rw-r--r--plugins/FTPFileYM/src/options.h2
-rw-r--r--plugins/FTPFileYM/src/serverlist.h2
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