Skip to content

Commit

Permalink
Add default construction to request extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Dec 11, 2023
1 parent 7e33123 commit b502c04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/roar/request.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ namespace Roar
{
struct RequestExtensions
{
std::optional<std::vector<std::string>> regexMatches_;
std::string path_;
std::unordered_map<std::string, std::string> query_;
std::string host_;
std::string port_;
std::optional<std::vector<std::string>> regexMatches_{std::nullopt};
std::string path_{};
std::unordered_map<std::string, std::string> query_{};
std::string host_{};
std::string port_{};
};
}

Expand Down

0 comments on commit b502c04

Please sign in to comment.