Fix warnings

Change-Id: I49dc38853df77bcc4d72c64132700c6059fbd5d7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2022-06-21 13:55:29 +02:00
parent 220267638f
commit 9d99e900b4
15 changed files with 79 additions and 68 deletions

View File

@@ -46,11 +46,6 @@ public:
long long value = 0;
};
std::ostream &operator<<(std::ostream &out, KeyValueView keyValueView)
{
return out << "(" << keyValueView.key << ", " << keyValueView.value << ")";
}
class KeyValue
{
public:
@@ -74,11 +69,6 @@ public:
long long value = 0;
};
std::ostream &operator<<(std::ostream &out, KeyValue keyValue)
{
return out << "(" << keyValue.key << ", " << keyValue.value << ")";
}
using KeyValues = std::vector<KeyValue>;
MATCHER_P2(IsKeyValue,