Skip to content

Commit d15da9c

Browse files
authored
Merge pull request #60454 from rschu1ze/ends_with
Minor: Replace boost::algorithm::ends_with() by std::string::ends_with()
2 parents 466cf93 + e185805 commit d15da9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/IO/S3/tests/gtest_aws_s3_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <memory>
1010

11-
#include <boost/algorithm/string.hpp>
11+
#include <boost/algorithm/string/split.hpp>
1212

1313
#include <Poco/URI.h>
1414

utils/check-marks/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static void checkByCompressedReadBuffer(const std::string & mrk_path, const std:
2323
DB::CompressedReadBufferFromFile bin_in(DB::createReadBufferFromFileBase(bin_path, /* settings= */ {}));
2424

2525
DB::WriteBufferFromFileDescriptor out(STDOUT_FILENO);
26-
bool mrk2_format = boost::algorithm::ends_with(mrk_path, ".mrk2");
26+
bool mrk2_format = mrk_path.ends_with(".mrk2");
2727

2828
for (size_t mark_num = 0; !mrk_in.eof(); ++mark_num)
2929
{

0 commit comments

Comments
 (0)