Putting typedefs where they belong.

This commit is contained in:
Dennis Luxen 2011-03-28 08:59:15 +00:00
parent 4fef3195b9
commit b5c92f20b4
3 changed files with 3 additions and 3 deletions

View File

@ -628,4 +628,7 @@ private:
}; };
} }
typedef NNGrid::NNGrid<false> ReadOnlyGrid;
typedef NNGrid::NNGrid<true > WritableGrid;
#endif /* NNGRID_H_ */ #endif /* NNGRID_H_ */

View File

@ -29,8 +29,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "NNGrid.h" #include "NNGrid.h"
#include "PhantomNodes.h" #include "PhantomNodes.h"
typedef NNGrid::NNGrid<false> ReadOnlyGrid;
class NodeInformationHelpDesk{ class NodeInformationHelpDesk{
public: public:
NodeInformationHelpDesk(const char* ramIndexInput, const char* fileIndexInput) { NodeInformationHelpDesk(const char* ramIndexInput, const char* fileIndexInput) {

View File

@ -56,7 +56,6 @@ using namespace std;
typedef ContractionCleanup::Edge::EdgeData EdgeData; typedef ContractionCleanup::Edge::EdgeData EdgeData;
typedef DynamicGraph<EdgeData>::InputEdge InputEdge; typedef DynamicGraph<EdgeData>::InputEdge InputEdge;
typedef StaticGraph<EdgeData>::InputEdge StaticEdge; typedef StaticGraph<EdgeData>::InputEdge StaticEdge;
typedef NNGrid::NNGrid<true> WritableGrid;
typedef BaseConfiguration ContractorConfiguration; typedef BaseConfiguration ContractorConfiguration;
vector<NodeInfo> * int2ExtNodeMap = new vector<NodeInfo>(); vector<NodeInfo> * int2ExtNodeMap = new vector<NodeInfo>();