Proper revert

This commit is contained in:
fauxpark 2023-10-14 22:35:18 +11:00
parent f3132549d8
commit 8549b43646

View File

@ -28,10 +28,11 @@ class KeyboardReportMatcher : public testing::MatcherInterface<report_keyboard_t
virtual bool MatchAndExplain(report_keyboard_t& report, testing::MatchResultListener* listener) const override;
virtual void DescribeTo(::std::ostream* os) const override;
virtual void DescribeNegationTo(::std::ostream* os) const override;
private:
private:
report_keyboard_t m_report;
};
template<typename... Ts>
inline testing::Matcher<report_keyboard_t&> KeyboardReport(Ts... keys) {
return testing::MakeMatcher(new KeyboardReportMatcher(std::vector<uint8_t>({keys...})));