Moving a variable back to local scope
This commit is contained in:
parent
9c894fb8b0
commit
5940e40d22
@ -51,7 +51,6 @@ private:
|
|||||||
StaticGraph<EdgeData> * graph;
|
StaticGraph<EdgeData> * graph;
|
||||||
HashTable<std::string, unsigned> descriptorTable;
|
HashTable<std::string, unsigned> descriptorTable;
|
||||||
std::string pluginDescriptorString;
|
std::string pluginDescriptorString;
|
||||||
bool checksumOK;
|
|
||||||
SearchEngine<EdgeData, StaticGraph<EdgeData> > * searchEngine;
|
SearchEngine<EdgeData, StaticGraph<EdgeData> > * searchEngine;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -65,7 +64,6 @@ public:
|
|||||||
descriptorTable.Set("", 0); //default descriptor
|
descriptorTable.Set("", 0); //default descriptor
|
||||||
descriptorTable.Set("json", 0);
|
descriptorTable.Set("json", 0);
|
||||||
descriptorTable.Set("gpx", 1);
|
descriptorTable.Set("gpx", 1);
|
||||||
checksumOK = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~ViaRoutePlugin() {
|
virtual ~ViaRoutePlugin() {
|
||||||
@ -83,7 +81,7 @@ public:
|
|||||||
|
|
||||||
RawRouteData rawRoute;
|
RawRouteData rawRoute;
|
||||||
rawRoute.checkSum = nodeHelpDesk->GetCheckSum();
|
rawRoute.checkSum = nodeHelpDesk->GetCheckSum();
|
||||||
checksumOK = ((unsigned)atoi(routeParameters.options.Find("checksum").c_str()) == rawRoute.checkSum);
|
bool checksumOK = ((unsigned)atoi(routeParameters.options.Find("checksum").c_str()) == rawRoute.checkSum);
|
||||||
// if(!checksumOK) {
|
// if(!checksumOK) {
|
||||||
// INFO((unsigned)atoi(routeParameters.options.Find("checksum").c_str()) << "!=" << rawRoute.checkSum);
|
// INFO((unsigned)atoi(routeParameters.options.Find("checksum").c_str()) << "!=" << rawRoute.checkSum);
|
||||||
// INFO("mismatching checksum");
|
// INFO("mismatching checksum");
|
||||||
|
Loading…
Reference in New Issue
Block a user