mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Moved member variables from constructor to initialization list
This commit is contained in:
@@ -37,9 +37,9 @@ struct Pair {
|
||||
S second;
|
||||
|
||||
Pair() {}
|
||||
Pair(F p_first, S p_second) {
|
||||
first = p_first;
|
||||
second = p_second;
|
||||
Pair(F p_first, S p_second)
|
||||
: first(p_first),
|
||||
second(p_second) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user