summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-18 06:32:32 +0200
committerLioncash <mathew1800@gmail.com>2018-07-18 06:32:35 +0200
commitc65a8fafa0fe68371b8b07ba190df78744983327 (patch)
treedb7b94c6a46972761ec012e9d78383175258c40a
parenttelemetry: Make operator== and operator!= const member functions of Field (diff)
downloadyuzu-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 '')
-rw-r--r--src/common/telemetry.h5
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;