Commit cb655884 authored by Kenton Varda's avatar Kenton Varda

tweak

parent c571aad0
......@@ -10,7 +10,10 @@ continuous:
CXX=g++-4.7 CXXFLAGS='-std=gnu++0x -g -Wall' LIBS='-lz -pthread' ekam -j6 -c -n :51315
continuous-opt:
CXX=g++-4.7 CXXFLAGS='-std=gnu++0x -O2 -DNDEBUG -Wall' LIBS='-lz -pthread' ekam -j6 -c -n :51315
CXX=g++-4.7 CXXFLAGS='-std=gnu++0x -O2 -DNDEBUG -Wall' LIBS='-lz -lprofiler -pthread' ekam -j6 -c -n :51315
continuous-prof:
CXX=g++-4.7 CXXFLAGS='-std=gnu++0x -O2 -DNDEBUG -Wall -pg' LIBS='-pg -lz -pthread' ekam -j6 -c -n :51315
clean:
rm -rf bin lib tmp
......
......@@ -240,7 +240,8 @@ public:
bool isDog = rand() % 8 == 0;
goodCount += isCat && !isDog;
std::string snippet;
static std::string snippet;
snippet.clear();
snippet.push_back(' ');
int prefix = rand() % 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment