Skip to content

traffic-control: Change return type of RedQueueDisc::DropEarly() from uint32_t to bool

Eduardo Almeida requested to merge edalm/ns-3-dev:fix-implicit-bool-tc into master

Change the return type of the private function RedQueueDisc::DropEarly() from uint32_t to bool.

The return value of this function is treated as a bool in the ns-3 codebase, so treat it as such to avoid clang-tidy implicit bool conversions warnings.

Merge request reports