Fix compilation of tests/commitlog_test.cc
In commit 878d58d23a, a new parameter was
added to commitlog::descriptor. The commit message says that "It's default
value is a descriptor::FILENAME_PREFIX." while in reality, it did not have
a default value and compilation of tests/commitlog_test.cc broke, because
it didn't specify a value.
So this patch adds a default value for this parameter, as was suggested
by the original commit message.
Signed-off-by: Nadav Har'El <nyh@scylladb.com>
Message-Id: <20171218131020.17883-1-nyh@scylladb.com>
This commit is contained in:
@@ -140,8 +140,8 @@ public:
|
||||
descriptor(descriptor&&) = default;
|
||||
descriptor(const descriptor&) = default;
|
||||
descriptor(segment_id_type i, const std::string& fname_prefix, uint32_t v = 1);
|
||||
descriptor(replay_position p, const std::string& fname_prefix);
|
||||
descriptor(const sstring& filename, const std::string& fname_prefix);
|
||||
descriptor(replay_position p, const std::string& fname_prefix = FILENAME_PREFIX);
|
||||
descriptor(const sstring& filename, const std::string& fname_prefix = FILENAME_PREFIX);
|
||||
|
||||
sstring filename() const;
|
||||
operator replay_position() const;
|
||||
|
||||
Reference in New Issue
Block a user