Skip to content

Commit be068a5

Browse files
committed
Replace boost::algorithm::starts_with() to std::string::starts_with() #203
1 parent f632cdd commit be068a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

executable/setup/src/winmain.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
#include <Windows.h>
1515

16-
#include <boost/algorithm/string.hpp>
17-
1816
#include <tetengo/text/encoder.hpp>
1917
#include <tetengo/text/encoding/utf16.hpp>
2018

@@ -61,7 +59,7 @@ namespace
6159
{
6260
const auto msi_path = base_directory / msi_file_name;
6361
auto parameters = std::wstring{ L"/i \"" } + msi_path.native() + std::wstring{ L"\"" };
64-
if (boost::algorithm::starts_with(locale_name, "Japanese"))
62+
if (locale_name.starts_with("Japanese"))
6563
{
6664
parameters += L" TRANSFORMS=\":ja.mst\"";
6765
}

0 commit comments

Comments
 (0)