diff options
Diffstat (limited to 'server/lexer/details/parse.hpp')
| -rw-r--r-- | server/lexer/details/parse.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/server/lexer/details/parse.hpp b/server/lexer/details/parse.hpp index acf014b..d945c74 100644 --- a/server/lexer/details/parse.hpp +++ b/server/lexer/details/parse.hpp @@ -15,21 +15,21 @@ namespace impl { // Exposed for benchmarking: -std::optional<double> std_parse_number(const std::string_view&, std::string_view&); -std::optional<double> std_parse_number(const std::string_view&); -std::optional<double> boost_parse_number(const std::string_view&, std::string_view&); -std::optional<double> boost_parse_number(const std::string_view&); +std::optional<double> std_parse_number(std::string_view, std::string_view&); +std::optional<double> std_parse_number(std::string_view); +std::optional<double> boost_parse_number(std::string_view, std::string_view&); +std::optional<double> boost_parse_number(std::string_view); -std::string_view std_parse_whitespace(const std::string_view&); -std::string_view boost_parse_whitespace(const std::string_view&); +std::string_view std_parse_whitespace(std::string_view); +std::string_view boost_parse_whitespace(std::string_view); } // namespace impl // Exposed for testing: -std::string_view parse_whitespace(const std::string_view&); -std::optional<double> parse_number(const std::string_view&, std::string_view&); -std::optional<double> parse_number(const std::string_view&); -std::optional<token::Type> parse_const_token(const std::string_view&, std::string_view&); -std::optional<token::Type> parse_const_token(const std::string_view&); +std::string_view parse_whitespace(std::string_view); +std::optional<double> parse_number(std::string_view, std::string_view&); +std::optional<double> parse_number(std::string_view); +std::optional<token::Type> parse_const_token(std::string_view, std::string_view&); +std::optional<token::Type> parse_const_token(std::string_view); } // namespace math::server::lexer::details |
