Skip to content

Commit

Permalink
All: Remove unnecessary explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxq authored and kechxu committed Dec 18, 2019
1 parent 8ba6410 commit 8905f13
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/bridge/common/udp_listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class UDPListener {
public:
typedef bool (T::*func)(int fd);
UDPListener() {}
explicit UDPListener(T *receiver, uint16_t port, func msg_handle) {
UDPListener(T *receiver, uint16_t port, func msg_handle) {
receiver_ = receiver;
listened_port_ = port;
msg_handle_ = msg_handle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using apollo::drivers::canbus::SenderMessage;

class UltrasonicRadarMessageManager : public MessageManager<Ultrasonic> {
public:
explicit UltrasonicRadarMessageManager(
UltrasonicRadarMessageManager(
const int entrance_num,
const std::shared_ptr<::apollo::cyber::Writer<Ultrasonic>> &writer);
virtual ~UltrasonicRadarMessageManager() = default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class BaseMapNode {
/**@brief Construct a map node. */
BaseMapNode();
/**@brief Construct a map node. */
explicit BaseMapNode(BaseMapMatrix* matrix, CompressionStrategy* strategy);
BaseMapNode(BaseMapMatrix* matrix, CompressionStrategy* strategy);
/**@brief Destruct a map node. */
virtual ~BaseMapNode();

Expand Down
4 changes: 2 additions & 2 deletions modules/map/tools/map_datachecker/server/laps_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ typedef std::vector<GridMeta> Grid;

class LapsChecker {
public:
explicit LapsChecker(const std::vector<FramePose>& poses, int laps_to_check,
std::shared_ptr<JSonConf> sp_conf);
LapsChecker(const std::vector<FramePose>& poses, int laps_to_check,
std::shared_ptr<JSonConf> sp_conf);
ErrorCode Check();
double GetProgress() const;
double GetConfidence();
Expand Down

0 comments on commit 8905f13

Please sign in to comment.