diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-18 06:32:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-18 06:32:35 +0200 |
commit | c65a8fafa0fe68371b8b07ba190df78744983327 (patch) | |
tree | db7b94c6a46972761ec012e9d78383175258c40a /src/common | |
parent | telemetry: Make operator== and operator!= const member functions of Field (diff) | |
download | yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar.gz yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar.bz2 yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar.lz yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar.xz yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.tar.zst yuzu-c65a8fafa0fe68371b8b07ba190df78744983327.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/telemetry.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/telemetry.h b/src/common/telemetry.h index 155cf59ff..3bab75b59 100644 --- a/src/common/telemetry.h +++ b/src/common/telemetry.h @@ -52,10 +52,7 @@ public: template <typename T> class Field : public FieldInterface { public: - Field(FieldType type, std::string name, const T& 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) : name(std::move(name)), type(type), value(std::move(value)) {} Field(const Field&) = default; |