removing completed todo markers

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

View File

@ -32,7 +32,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#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 {
@ -70,7 +69,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

@ -29,7 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define TIMESTAMPPLUGIN_H_
#include "BasePlugin.h"
//TODO: Rework data access to go through facade
template<class DataFacadeT>
class TimestampPlugin : public BasePlugin {

View File

@ -46,7 +46,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string>
#include <vector>
//TODO: Rework data access to go through facade
template<class DataFacadeT>
class ViaRoutePlugin : public BasePlugin {
private: