diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d0447aa..af44203a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/structures/typedefs.h b/src/structures/typedefs.h index ea9b647b..d4549577 100644 --- a/src/structures/typedefs.h +++ b/src/structures/typedefs.h @@ -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