Skip to content

Commit 4e5d719

Browse files
committed
Heap-of-heaps attempt #1 (segfaults)
1 parent fc4a083 commit 4e5d719

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rclcpp/include/rclcpp/executors/fixed_prio_executor.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ class ComparePrio
4343
{
4444
public:
4545
using eq = std::shared_ptr<std::deque<std::pair<int, std::shared_ptr<rclcpp::AnyExecutable>>>>;
46-
bool operator()(const eq & lhs, const eq & rhs) const
47-
{
46+
bool operator()(const eq & lhs, const eq & rhs) const {
4847
if (lhs->empty()) {
4948
return false;
5049
} else if (rhs->empty()) {

0 commit comments

Comments
 (0)