Skip to content

Commit

Permalink
RRDFetch: typo + explicit ctor
Browse files Browse the repository at this point in the history
CMK-18929

Change-Id: Ia7743ad49b5acfab9248c4d548dd78eec6b0d87c
  • Loading branch information
Synss committed Jan 16, 2025
1 parent 7ecb26e commit bd607e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/livestatus/include/livestatus/RRDFetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RRDFetchHeader {

public:
using time_point = C::time_point;
RRDFetchHeader(const std::vector<std::string> &h) : _h{h} {
explicit RRDFetchHeader(const std::vector<std::string> &h) : _h{h} {
assert(h.size() == size());
}
static std::size_t size() { return Field::Dscount + 1; }
Expand Down
2 changes: 1 addition & 1 deletion packages/livestatus/test/test_RRDFetch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "livestatus/RRDFetch.h"
#include "livestatus/StringUtils.h"

TEST(TestRPNFetch, Header) {
TEST(TestRRDFetchHeader, Header) {
const char *raw =
"FlushVersion: 1\n"
"Start: 1733220000\n"
Expand Down

0 comments on commit bd607e6

Please sign in to comment.