Skip to content

Commit a6bee8d

Browse files
committed
fixes
1 parent a662541 commit a6bee8d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/server/utils/parser.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#ifndef PARSER_HPP
22
#define PARSER_HPP
33

4-
#include <ranges>
5-
64
std::string parseCLI(int argc, char **argv, char *resolve_prefix) {
75
Logger *log;
86

@@ -154,7 +152,7 @@ std::string parseCLI(int argc, char **argv, char *resolve_prefix) {
154152
std::string backend_name = "none";
155153
if (backend) {
156154
std::string tmp = args::get(backend);
157-
std::ranges::transform(tmp, tmp.begin(), ::toupper);
155+
std::transform(tmp.begin(), tmp.end(), tmp.begin(), ::toupper);
158156
backend_name = tmp;
159157
}
160158

0 commit comments

Comments
 (0)