Make gcc 4.8 happy and disable protected because of lambdas

This commit is contained in:
Patrick Niklaus
2016-03-19 00:01:43 +01:00
parent 663a7c52c7
commit 30a3ab68c0
5 changed files with 12 additions and 5 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ class TableAPI final : public BaseAPI
response.values["code"] = "ok";
}
protected:
// FIXME gcc 4.8 doesn't support for lambdas to call protected member functions
// protected:
virtual util::json::Array MakeWaypoints(const std::vector<PhantomNode> &phantoms) const
{
util::json::Array json_waypoints;