Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadiaphy committed Mar 1, 2019
1 parent 5834aaf commit 0d55a66
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/dmlc/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <string>
#include <sstream>
#include <mutex>
#include <utility>
#include "./logging.h"

namespace dmlc {
Expand Down
1 change: 1 addition & 0 deletions include/dmlc/concurrency.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <mutex>
#include <vector>
#include <condition_variable>
#include <utility>
#include "dmlc/base.h"

namespace dmlc {
Expand Down
2 changes: 2 additions & 0 deletions include/dmlc/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define DMLC_MEMORY_H_

#include <vector>
#include <memory>
#include <utility>
#include "./base.h"
#include "./logging.h"
#include "./thread_local.h"
Expand Down
2 changes: 1 addition & 1 deletion include/dmlc/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct nullopt_t {
explicit nullopt_t(int a) {}
#else
/*! \brief dummy constructor */
constexpr nullopt_t(int a) {}
explicit constexpr nullopt_t(int a) {}
#endif
};

Expand Down
2 changes: 2 additions & 0 deletions include/dmlc/thread_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include <mutex>
#include <set>
#include <thread>
#include <memory>
#include <utility>
#include <unordered_set>
#include <unordered_map>
#if defined(DMLC_USE_CXX14) || __cplusplus > 201103L /* C++14 */
Expand Down

0 comments on commit 0d55a66

Please sign in to comment.