aboutsummaryrefslogtreecommitdiff
path: root/src/common/telemetry.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-01-17 19:43:24 -0500
committerLioncash <mathew1800@gmail.com>2018-01-17 19:43:24 -0500
commit33eba9b96e3972a9cc9ad2373adc9a5fa7d92057 (patch)
treec0fa8ffed989805098c5aee8d063424aaeeeb490 /src/common/telemetry.h
parentee08c39b7251c6a037014b503ecf70ebf8dc5ed5 (diff)
telemetry: Silence initialization order warnings
Diffstat (limited to 'src/common/telemetry.h')
-rw-r--r--src/common/telemetry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/telemetry.h b/src/common/telemetry.h
index dd6bbd7593..3694c76f24 100644
--- a/src/common/telemetry.h
+++ b/src/common/telemetry.h
@@ -53,10 +53,10 @@ template <typename T>
class Field : public FieldInterface {
public:
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)
- : 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) {}