Meta: Remove linktest seg fault issue
[link.git] / Source / Target.cpp
blob7c5d68a6fda83022aa68835b3235288764b90833
1 #include <Link.hpp>
2 #include <iostream>
3 #include <vector>
5 Link::Target::Target(std::string host, std::string target) {
6 this->hosts.push_back(host);
7 this->target = target;
10 Link::Target* Link::Target::AddHost(std::string host) {
11 this->hosts.push_back(host);
12 return this;
15 std::vector<std::string> Link::Target::GetHosts() {
16 return this->hosts;
19 std::string Link::Target::GetTarget() {
20 return this->target;