Minor: Replace boost::algorithm::ends_with() by std::string::ends_with()

This commit is contained in:
Robert Schulze 2024-02-27 15:28:02 +00:00
parent 466cf93ee2
commit e185805c1c
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#include <memory>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>
#include <Poco/URI.h>

View File

@ -23,7 +23,7 @@ static void checkByCompressedReadBuffer(const std::string & mrk_path, const std:
DB::CompressedReadBufferFromFile bin_in(DB::createReadBufferFromFileBase(bin_path, /* settings= */ {}));
DB::WriteBufferFromFileDescriptor out(STDOUT_FILENO);
bool mrk2_format = boost::algorithm::ends_with(mrk_path, ".mrk2");
bool mrk2_format = mrk_path.ends_with(".mrk2");
for (size_t mark_num = 0; !mrk_in.eof(); ++mark_num)
{