mirror of https://github.com/facebook/rocksdb.git
ttl/ttl_test.cc: pass const string param by reference
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
4a171882d6
commit
177caca428
|
@ -263,7 +263,7 @@ class TtlTest {
|
|||
|
||||
class TestFilter : public CompactionFilter {
|
||||
public:
|
||||
TestFilter(const int64_t kSampleSize, const std::string kNewValue)
|
||||
TestFilter(const int64_t kSampleSize, const std::string& kNewValue)
|
||||
: kSampleSize_(kSampleSize),
|
||||
kNewValue_(kNewValue) {
|
||||
}
|
||||
|
@ -311,7 +311,7 @@ class TtlTest {
|
|||
|
||||
class TestFilterFactory : public CompactionFilterFactory {
|
||||
public:
|
||||
TestFilterFactory(const int64_t kSampleSize, const std::string kNewValue)
|
||||
TestFilterFactory(const int64_t kSampleSize, const std::string& kNewValue)
|
||||
: kSampleSize_(kSampleSize),
|
||||
kNewValue_(kNewValue) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue