From 252113c838e9899df0ffcb44305d692d228261e1 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 1 Oct 2013 13:25:11 +0200 Subject: [PATCH] implementing the fetch of name ids in shared memory --- Server/DataStructures/SharedDataFacade.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Server/DataStructures/SharedDataFacade.h b/Server/DataStructures/SharedDataFacade.h index a3882868c..b8daa1041 100644 --- a/Server/DataStructures/SharedDataFacade.h +++ b/Server/DataStructures/SharedDataFacade.h @@ -302,7 +302,9 @@ public: unsigned GetCheckSum() const { return m_check_sum; } - unsigned GetNameIndexFromEdgeID(const unsigned id) const { return 0; }; + unsigned GetNameIndexFromEdgeID(const unsigned id) const { + return m_name_ID_list.at(id); + }; void GetName( const unsigned name_id, std::string & result ) const { if(UINT_MAX == name_id) {