diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 20:19:15 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 20:19:15 +0200 |
commit | 6051939945b07fdcecff1697dc977c64afd38580 (patch) | |
tree | 8979b5784baca6c40db2c560f29310c37299d086 /src/main.cpp | |
parent | 618501b6fae62fa2d5db922ec8abf94120e5e99c (diff) |
Passed argument straight into spacebot
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
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; |