Skip to content

Commit

Permalink
Merge branch 'downstream/add-server-ctor'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Nov 15, 2024
2 parents accff72 + 6515653 commit 31bace4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- Refactor `SolutionIndicators` (#1169)
- Remove amount consistency checks in `parse` in favor of upstream checks in `Input` (#1086)
- Reduce code duplication in routing wrappers (#1184)
- Allow passing `path` in `Server` ctor (#1192)

#### CI

Expand Down
4 changes: 4 additions & 0 deletions src/structures/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ struct Server {
Server(std::string host, std::string port)
: host(std::move(host)), port(std::move(port)) {
}

Server(std::string host, std::string port, std::string path)
: host(std::move(host)), port(std::move(port)), path(std::move(path)) {
}
};

// 'Single' job is a regular one-stop job without precedence
Expand Down

0 comments on commit 31bace4

Please sign in to comment.