@@ -43,16 +43,16 @@ class Metric
4343 Metric (double value, const std::string& name, std::chrono::time_point<std::chrono::system_clock> timestamp = Metric::getCurrentTimestamp());
4444
4545 // / Initialize class variables
46- // / \param value metric value (int64_t )
46+ // / \param value metric value (uint64_t )
4747 // / \param name metric name
4848 // / \param timestamp metric timestamp in milliseconds
49- Metric (int64_t value, const std::string& name, std::chrono::time_point<std::chrono::system_clock> timestamp = Metric::getCurrentTimestamp());
49+ Metric (uint64_t value, const std::string& name, std::chrono::time_point<std::chrono::system_clock> timestamp = Metric::getCurrentTimestamp());
5050
5151 // / Initialize class variables, required by derived metrics logic
5252 // / \param value metric value (boost variant)
5353 // / \param name metric name
5454 // / \param timestamp metric timestamp in milliseconds
55- Metric (boost::variant< int , std::string, double , int64_t >, const std::string& name, std::chrono::time_point<std::chrono::system_clock> timestamp = Metric::getCurrentTimestamp());
55+ Metric (boost::variant< int , std::string, double , uint64_t >, const std::string& name, std::chrono::time_point<std::chrono::system_clock> timestamp = Metric::getCurrentTimestamp());
5656
5757 // / Default destructor
5858 ~Metric () = default ;
@@ -67,7 +67,7 @@ class Metric
6767
6868 // / Value getter
6969 // / \return metric value
70- boost::variant< int , std::string, double , int64_t > getValue () const ;
70+ boost::variant< int , std::string, double , uint64_t > getValue () const ;
7171
7272 // / Value type getter
7373 // / \return type of value stores inside metric : 0 - int, 1 - std::string, 2 - double
@@ -93,7 +93,7 @@ class Metric
9393
9494 private:
9595 // / Metric value
96- boost::variant< int , std::string, double , int64_t > mValue ;
96+ boost::variant< int , std::string, double , uint64_t > mValue ;
9797
9898 // / Metric name
9999 std::string mName ;
0 commit comments