mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[ntcore] NetworkTables 4 (#3217)
This commit is contained in:
@@ -9,10 +9,9 @@
|
||||
namespace nt {
|
||||
|
||||
bool ValueMatcher::MatchAndExplain(
|
||||
std::shared_ptr<Value> val,
|
||||
::testing::MatchResultListener* listener) const {
|
||||
Value val, ::testing::MatchResultListener* listener) const {
|
||||
if ((!val && goodval) || (val && !goodval) ||
|
||||
(val && goodval && *val != *goodval)) {
|
||||
(val && goodval && val != goodval)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user