try to see if this makes disabled network crc checking more performance freindly

This commit is contained in:
Mark Vejvoda
2013-10-20 20:06:19 +00:00
parent 260f770171
commit a17068165f
4 changed files with 58 additions and 26 deletions

View File

@@ -32,6 +32,7 @@ private:
private:
int lastNumber;
std::vector<std::string> lastCaller;
bool disableLastCallerTracking;
int rand(std::string lastCaller);
@@ -46,9 +47,9 @@ public:
void setLastNumber(int value) { lastNumber = value; }
std::string getLastCaller() const;
void clearLastCaller() { lastCaller.clear(); }
//void clearLastCaller() { }
void addLastCaller(std::string text) { lastCaller.push_back(text); }
void clearLastCaller();
void addLastCaller(std::string text);
void setDisableLastCallerTracking(bool value) { disableLastCallerTracking = value; }
};
}}//end namespace