yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

telemetry: Silence initialization order warnings

This commit is contained in:
Lioncash 2018-01-17 19:43:24 -05:00
parent ee08c39b72
commit 33eba9b96e
1 changed files with 2 additions and 2 deletions

View File

@ -53,10 +53,10 @@ template <typename T>
class Field : public FieldInterface { class Field : public FieldInterface {
public: public:
Field(FieldType type, std::string name, const T& value) Field(FieldType type, std::string name, const T& value)
: type(type), name(std::move(name)), value(value) {} : name(std::move(name)), type(type), value(value) {}
Field(FieldType type, std::string name, T&& value) Field(FieldType type, std::string name, T&& value)
: type(type), name(std::move(name)), value(std::move(value)) {} : name(std::move(name)), type(type), value(std::move(value)) {}
Field(const Field& other) : Field(other.type, other.name, other.value) {} Field(const Field& other) : Field(other.type, other.name, other.value) {}