Remove some dead code
This commit is contained in:
@@ -23,22 +23,6 @@
|
||||
#include "AIPlayer.h"
|
||||
|
||||
|
||||
|
||||
//!! helper function; this is probably handled somewhere in the code already.
|
||||
// If not, should be placed in general library
|
||||
void StringExplode(string str, string separator, vector<string>* results)
|
||||
{
|
||||
size_t found;
|
||||
found = str.find_first_of(separator);
|
||||
while (found != string::npos)
|
||||
{
|
||||
if (found > 0) results->push_back(str.substr(0, found));
|
||||
str = str.substr(found + 1);
|
||||
found = str.find_first_of(separator);
|
||||
}
|
||||
if (str.length() > 0) results->push_back(str);
|
||||
}
|
||||
|
||||
GameStateDeckViewer::GameStateDeckViewer(GameApp* parent) :
|
||||
GameState(parent, "deckeditor")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user