[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

@@ -161,7 +161,7 @@ void PrintTo(const Value& value, std::ostream* os) {
}
void PrintTo(const PubSubOptions& options, std::ostream* os) {
*os << "PubSubOptions{periodic=" << options.periodic
*os << "PubSubOptions{periodicMs=" << options.periodicMs
<< ", pollStorageSize=" << options.pollStorageSize
<< ", logging=" << options.sendAll
<< ", keepDuplicates=" << options.keepDuplicates << '}';