Skip to content

Commit

Permalink
Fix build error on old compiler without C++23 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed May 12, 2024
1 parent 0d9953e commit 5d70c61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions scintilla/include/boost/regex/v5/iterator_category.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ struct is_random_access_iterator
static constexpr bool value = answer::value;
};

template <class I>
constexpr bool is_random_access_iterator<I>::value;

}

Expand Down
2 changes: 1 addition & 1 deletion scintilla/include/boost/regex/v5/match_results.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ class match_results

void set_named_subs(std::shared_ptr<named_sub_type> subs)
{
m_named_subs = subs;
m_named_subs = std::move(subs);
}

private:
Expand Down
2 changes: 1 addition & 1 deletion scintilla/include/boost/regex/v5/w32_regex_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ w32_regex_traits_implementation<charT>::w32_regex_traits_implementation(::boost:
w32_regex_traits_implementation<charT>::mask_word,
w32_regex_traits_implementation<charT>::mask_unicode,
};
constexpr string_type null_string;
const string_type null_string;
for(unsigned int j = 0; j <= 13; ++j)
{
string_type s(::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, j+300, null_string));
Expand Down

0 comments on commit 5d70c61

Please sign in to comment.