Unify and simplify addresses computation

This commit is contained in:
Dmitry-Me 2016-07-21 15:48:48 +03:00
parent b2f1b95e38
commit 0aac71efd1
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
#include "options.h" #include "options.h"
options::options(int argc, const char* argv[]) options::options(int argc, const char* argv[])
:_options(&argv[1], &argv[0] + argc) :_options(argv + 1, argv + argc)
,_which_test("") ,_which_test("")
,_gcc_style_errors(_options.count("-g") != 0) ,_gcc_style_errors(_options.count("-g") != 0)
,_quiet(_options.count("-q") != 0) ,_quiet(_options.count("-q") != 0)