Cleanup: Unify indentation and line length across files.

Consistenly use 4 space indent (no tabs) and < 80 char lines. The
files were very inconsistent and hard to edit.
This commit is contained in:
Daniel Aarno 2015-05-11 22:08:25 +02:00
parent b162f59fcb
commit b3f85f4965
2 changed files with 445 additions and 448 deletions

View File

@ -1,4 +1,3 @@
/****************************************************************************** /******************************************************************************
* *
* file: SwitchArg.h * file: SwitchArg.h

View File

@ -350,17 +350,15 @@ bool ValueArg<T>::processArg(int *i, std::vector<std::string>& args)
if ( _alreadySet ) if ( _alreadySet )
{ {
if ( _xorSet ) if ( _xorSet )
throw( CmdLineParseException( throw( CmdLineParseException("Mutually exclusive argument"
"Mutually exclusive argument already set!", " already set!", toString()));
toString()) );
else else
throw( CmdLineParseException("Argument already set!", throw( CmdLineParseException("Argument already set!",
toString()) ); toString()) );
} }
if ( Arg::delimiter() != ' ' && value == "" ) if ( Arg::delimiter() != ' ' && value == "" )
throw( ArgParseException( throw( ArgParseException("Couldn't find delimiter for this argument!",
"Couldn't find delimiter for this argument!",
toString() ) ); toString() ) );
if ( value == "" ) if ( value == "" )