Initial non-building match plugin
This commit is contained in:
@@ -14,8 +14,11 @@ namespace api
|
||||
|
||||
struct MatchParameters : public RouteParameters
|
||||
{
|
||||
std::vector<unsigned> timestamps;
|
||||
bool IsValid() const;
|
||||
std::vector<boost::optional<unsigned>> timestamps;
|
||||
bool IsValid() const
|
||||
{
|
||||
return timestamps.empty() || timestamps.size() == coordinates.size();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user