Commit a9d7b54c authored by Thomas Braun's avatar Thomas Braun
Browse files

clang-tidy: Fix modernize-use-default-member-init

parent 7b87d85a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1270,7 +1270,7 @@ class Util
    std::string dyn_att_dev_name;                   // Device name (use for dyn att clean-up)
    std::string dyn_cmd_dev_name;                   // Device name (use for dyn cmd clean-up)

    unsigned long poll_pool_size;               // Polling threads pool size
    unsigned long poll_pool_size{ULONG_MAX};    // Polling threads pool size
    std::vector<std::string> poll_pool_conf;    // Polling threads pool conf.
    std::map<std::string, int> dev_poll_th_map; // Link between device name and polling thread id
    std::vector<PollingThreadInfo *> poll_ths;  // Polling threads
+1 −5
Original line number Diff line number Diff line
@@ -323,7 +323,6 @@ Util::Util(int argc, char *argv[]) :
    inter(nullptr),
    svr_starting(true),
    svr_stopping(false),
    poll_pool_size(ULONG_MAX),
    conf_needs_db_upd(false),
    ev_loop_func(nullptr),
    shutdown_server(false),
@@ -340,9 +339,7 @@ Util::Util(int argc, char *argv[]) :

    poll_mon("utils_poll"),

    only_one("process"),

    poll_pool_size(ULONG_MAX)
    only_one("process")

#endif
{
@@ -721,7 +718,6 @@ Util::Util(HINSTANCE hInst, int nCmdShow) :
    inter(nullptr),
    svr_starting(true),
    svr_stopping(false),
    poll_pool_size(ULONG_MAX),
    conf_needs_db_upd(false),
    ev_loop_func(nullptr),
    shutdown_server(false),