diff options
| author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2018-12-08 15:07:33 -0500 |
|---|---|---|
| committer | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2018-12-11 18:33:01 -0500 |
| commit | 08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2 (patch) | |
| tree | 5f4321fb0e3150ca159598b6badcf1a90d1fdcd6 /drivers/windows/file_access_windows.cpp | |
| parent | 41d1dba35fc851258d5aabad819d09f6a43e324c (diff) | |
| download | redot-engine-08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2.tar.gz | |
Moved member variables to initializer list
Diffstat (limited to 'drivers/windows/file_access_windows.cpp')
| -rw-r--r-- | drivers/windows/file_access_windows.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 2582478259..a289945aa7 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -307,11 +307,10 @@ uint64_t FileAccessWindows::_get_modified_time(const String &p_file) { } } -FileAccessWindows::FileAccessWindows() { - - f = NULL; - flags = 0; - last_error = OK; +FileAccessWindows::FileAccessWindows() : + f(NULL), + flags(0), + last_error(OK) { } FileAccessWindows::~FileAccessWindows() { |
