removing completed todo markers

This commit is contained in:
Dennis Luxen 2013-10-01 16:53:15 +02:00
parent fd7b22f639
commit 0f258f94a8
3 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "../Util/StringUtil.h"
//locates the nearest node in the road network for a given coordinate.
//TODO: Rework data access to go through facade
template<class DataFacadeT>
class LocatePlugin : public BasePlugin {
@ -63,7 +62,12 @@ public:
reply.status = http::Reply::ok;
reply.content += ("{");
reply.content += ("\"version\":0.3,");
if(!facade->LocateClosestEndPointForCoordinate(routeParameters.coordinates[0], result)) {
if(
!facade->LocateClosestEndPointForCoordinate(
routeParameters.coordinates[0],
result
)
) {
reply.content += ("\"status\":207,");
reply.content += ("\"mapped_coordinate\":[]");
} else {

View File

@ -22,7 +22,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
#define TIMESTAMPPLUGIN_H_
#include "BasePlugin.h"
//TODO: Rework data access to go through facade
template<class DataFacadeT>
class TimestampPlugin : public BasePlugin {

View File

@ -39,7 +39,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include <string>
#include <vector>
//TODO: Rework data access to go through facade
template<class DataFacadeT>
class ViaRoutePlugin : public BasePlugin {
private: