aboutsummaryrefslogtreecommitdiff
path: root/test.cxx
diff options
context:
space:
mode:
authorTaylor C. Richberger <Taywee@gmx.com>2016-05-08 21:50:41 -0600
committerTaylor C. Richberger <Taywee@gmx.com>2016-05-08 21:50:41 -0600
commit29baee5b10aacc4e554f1c8c54d216406b11f69b (patch)
tree7e4f16a09e4070f9bcf2b7c12e95243e4feb1cc9 /test.cxx
parentMerge branch 'master' of ssh.gitgud.io:Taywee/args (diff)
downloadargs.hxx-29baee5b10aacc4e554f1c8c54d216406b11f69b.tar.xz
some small const improvements
Diffstat (limited to 'test.cxx')
-rw-r--r--test.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test.cxx b/test.cxx
index f94f928..916bf9f 100644
--- a/test.cxx
+++ b/test.cxx
@@ -2,6 +2,7 @@
* This code is released under the license described in the LICENSE file
*/
+#include <tuple>
#include <iostream>
std::istream& operator>>(std::istream& is, std::tuple<int, int>& ints)
@@ -198,8 +199,6 @@ TEST_CASE("Argument groups should nest", "[args]")
REQUIRE_THROWS_AS(parser.ParseArgs(std::vector<std::string>{"-a", "-dg"}), args::ValidationError);
}
-#include <tuple>
-
void DoublesReader(const std::string &name, const std::string &value, std::tuple<double, double> &destination)
{
size_t commapos = 0;