summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-03 20:19:15 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-03 20:19:15 +0200
commit6051939945b07fdcecff1697dc977c64afd38580 (patch)
tree8979b5784baca6c40db2c560f29310c37299d086
parent618501b6fae62fa2d5db922ec8abf94120e5e99c (diff)
Passed argument straight into spacebot
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c780e1f..578620c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,8 +10,7 @@ int main(int argc, char* argv[])
return 1;
}
- std::string outputFolder = argv[1];
- Spacebot bot(std::move(outputFolder));
+ Spacebot bot(argv[1]);
bot.writeNextMove();
return 0;