Skip to content

Commit

Permalink
Solve compilation error with __raw_data_utils.hpp.
Browse files Browse the repository at this point in the history
Remove typename keyword.
  • Loading branch information
Sepulven committed May 13, 2024
1 parent 4e9b0c1 commit c845282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME = webserv
CXX = c++
CXXFLAGS = #-Wall -Werror -Wextra -std=c++98 -g # -fsanitize=address
CXXFLAGS = -Wall -Werror -Wextra -std=c++98 -g # -fsanitize=address

SRCS = main.cpp ServerContext.cpp WebServer.cpp HttpError.cpp

Expand Down
4 changes: 2 additions & 2 deletions inc/__raw_data_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

namespace RawData
{
typedef typename std::vector<uint8_t>::iterator iterator;
typedef typename std::vector<uint8_t>::const_iterator const_iterator;
typedef std::vector<uint8_t>::iterator iterator;
typedef std::vector<uint8_t>::const_iterator const_iterator;

void print_uint(const std::vector<uint8_t> &str);

Expand Down

0 comments on commit c845282

Please sign in to comment.