Skip to content

Commit

Permalink
Make 1-arg LockedPriorityQueue ctor explicit
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard committed Nov 26, 2024
1 parent 939eca3 commit f769263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class LockedPriorityQueue
public:
/// \brief Constructor.
/// \param compare the comparator object
LockedPriorityQueue(const Compare & compare)
explicit LockedPriorityQueue(const Compare & compare)
: queue_(compare)
{}

Expand Down

0 comments on commit f769263

Please sign in to comment.