constexpr instead const

This commit is contained in:
vaclavt 2022-05-16 20:32:26 +02:00
parent caf1ae0b7d
commit e7b2402b63
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public:
[[nodiscard]] std::vector<std::string> client(const std::string &address, int portno, const std::vector<std::string> &requests) const;
private:
static const bool USE_LENGTH_HEADER = true;
static constexpr bool USE_LENGTH_HEADER = true;
static std::string read_from_socket(int sockfd) ;
static void write_to_socket(int sockfd, const std::string &str) ;
};