diff --git a/include/hermes/score_histogram.h b/include/hermes/score_histogram.h index 9f6373f1d..4775e39a6 100644 --- a/include/hermes/score_histogram.h +++ b/include/hermes/score_histogram.h @@ -26,10 +26,10 @@ struct HistEntry { HistEntry() : x_(0) {} /** Constructor */ - HistEntry(int x) : x_(x) {} + explicit HistEntry(int x) : x_(x) {} /** Copy constructor */ - HistEntry(const HistEntry &other) : x_(other.x_.load()) {} + explicit HistEntry(const HistEntry &other) : x_(other.x_.load()) {} /** Copy operator */ HistEntry &operator=(const HistEntry &other) {