From 0aac71efd140117914ce458a6d053d7de090846b Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Thu, 21 Jul 2016 15:48:48 +0300 Subject: [PATCH] Unify and simplify addresses computation --- test/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/options.cpp b/test/options.cpp index e82878da9..c29c81b40 100644 --- a/test/options.cpp +++ b/test/options.cpp @@ -17,7 +17,7 @@ #include "options.h" options::options(int argc, const char* argv[]) - :_options(&argv[1], &argv[0] + argc) + :_options(argv + 1, argv + argc) ,_which_test("") ,_gcc_style_errors(_options.count("-g") != 0) ,_quiet(_options.count("-q") != 0)