File tree Expand file tree Collapse file tree 4 files changed +0
-37
lines changed
Expand file tree Collapse file tree 4 files changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ target_compile_features(Monitoring PUBLIC cxx_std_17)
140140set (EXAMPLES
141141 examples/1-Basic.cxx
142142 examples/2-TaggedMetrics.cxx
143- examples/3-UserDefinedTimestamp
144143 examples/4-RateDerivedMetric.cxx
145144 examples/5-Benchmark.cxx
146145 examples/6-Increment.cxx
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -87,11 +87,6 @@ class Metric
8787 // / \return vector of tags
8888 std::vector<Tag> getTags () const ;
8989
90- // / Sets user defined timestamp
91- // / \param timestamp timestamp to set
92- // / \return r-value to "this" - to be able to chain methods
93- Metric&& setTimestamp(std::chrono::time_point<std::chrono::system_clock>& timestamp);
94-
9590 // / Add user defined tags
9691 // / \param tags r-value to vector of tags
9792 // / \return r-value to "this" - to be able to chain methods
Original file line number Diff line number Diff line change @@ -90,12 +90,6 @@ Metric&& Metric::addTags(std::vector<Tag>&& tags)
9090 return std::move (*this );
9191}
9292
93- Metric&& Metric::setTimestamp(std::chrono::time_point<std::chrono::system_clock>& timestamp)
94- {
95- mTimestamp = timestamp;
96- return std::move (*this );
97- }
98-
9993std::vector<Tag> Metric::getTags () const
10094{
10195 return tagSet;
You can’t perform that action at this time.
0 commit comments