mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Moved member variables to initializer list
This commit is contained in:
@@ -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() {
|
||||
|
||||
|
||||
@@ -93,9 +93,8 @@ void ThreadWindows::make_default() {
|
||||
wait_to_finish_func = wait_to_finish_func_windows;
|
||||
}
|
||||
|
||||
ThreadWindows::ThreadWindows() {
|
||||
|
||||
handle = NULL;
|
||||
ThreadWindows::ThreadWindows() :
|
||||
handle(NULL) {
|
||||
}
|
||||
|
||||
ThreadWindows::~ThreadWindows() {
|
||||
|
||||
Reference in New Issue
Block a user