[ntcore] Use int for options instead of double

Periodic time is stored in milliseconds.
This commit is contained in:
Peter Johnson
2022-12-05 21:56:04 -08:00
parent f3e666b7bb
commit b0e4053087
16 changed files with 67 additions and 60 deletions

View File

@@ -11,7 +11,7 @@ namespace nt {
bool PubSubOptionsMatcher::MatchAndExplain(
const PubSubOptions& val, ::testing::MatchResultListener* listener) const {
bool match = true;
if (val.periodic != good.periodic) {
if (val.periodicMs != good.periodicMs) {
*listener << "periodic mismatch ";
match = false;
}