Skip to content

Commit 37804b5

Browse files
committed
Remove unnecessary workaround.
Closes #9854.
1 parent f50b027 commit 37804b5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/value_semantic.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,7 @@ namespace boost { namespace program_options {
268268

269269
void error_with_option_name::replace_token(const string& from, const string& to) const
270270
{
271-
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1800))
272-
// prevent warning C4127: conditional expression is constant
273271
for (;;)
274-
#else
275-
while (1)
276-
#endif
277272
{
278273
std::size_t pos = m_message.find(from.c_str(), 0, from.length());
279274
// not found: all replaced

0 commit comments

Comments
 (0)