Skip to content

Commit

Permalink
use ParseServerMessage::max_order_len constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpoelen committed Feb 15, 2024
1 parent 7f20c46 commit 64fcaf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/parse_server_message.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
struct ParseServerMessage
{
static const std::size_t max_arity = 64;
static const std::size_t max_order_len = 32;
static const std::size_t max_order_len = 126;

TaggedStringArray<UpperTag, 126> upper_order() const noexcept
TaggedStringArray<UpperTag, max_order_len> upper_order() const noexcept
{
return ascii_to_limited_upper<126>(order_);
return ascii_to_limited_upper<max_order_len>(order_);
}

array_view<std::string_view> parameters() const noexcept
Expand Down

0 comments on commit 64fcaf7

Please sign in to comment.