Skip to content

Commit

Permalink
[API] deprecate old alphabet::lookup-tables
Browse files Browse the repository at this point in the history
  • Loading branch information
marehr committed Mar 11, 2021
1 parent 37f7136 commit d270fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/seqan3/alphabet/alphabet_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class alphabet_base
* function to give the implementer more freedom.
* \deprecated Define derived_type::rank_to_char_table as a function.
*/
static constexpr char_type rank_to_char_table(rank_type const rank) noexcept
SEQAN3_DEPRECATED_310 static constexpr char_type rank_to_char_table(rank_type const rank) noexcept
{
return derived_type::rank_to_char[rank];
}
Expand Down Expand Up @@ -215,7 +215,7 @@ class alphabet_base
* function to give the implementer more freedom.
* \deprecated Define derived_type::char_to_rank as a function.
*/
static constexpr rank_type char_to_rank_table(char_type const chr) noexcept
SEQAN3_DEPRECATED_310 static constexpr rank_type char_to_rank_table(char_type const chr) noexcept
{
#if SEQAN3_WORKAROUND_GCC_99318
# pragma GCC diagnostic push
Expand Down

0 comments on commit d270fe0

Please sign in to comment.