diff options
author | FormerLurker <hochgebe@gmail.com> | 2021-11-24 03:38:55 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2021-11-24 03:38:55 +0300 |
commit | 274b33a225485571a012471e997738e437607fcc (patch) | |
tree | daeefcb0e521feca19465727b2359e42953bdadb /TCLAP/tclap/Arg.h | |
parent | 499c995652b829e42097ea88f93faf2c9c0aeaa5 (diff) |
Allow Travel Arcs is now false by default, else it didn't make any sense as a flag. Enhance command line processing in the inverse processor. Update TCLAP library.
Diffstat (limited to 'TCLAP/tclap/Arg.h')
-rw-r--r-- | TCLAP/tclap/Arg.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/TCLAP/tclap/Arg.h b/TCLAP/tclap/Arg.h index 3ad3e77..f8c4a5f 100644 --- a/TCLAP/tclap/Arg.h +++ b/TCLAP/tclap/Arg.h @@ -39,16 +39,6 @@ #include <tclap/sstream.h> -#if defined(HAVE_SSTREAM) -#include <sstream> -typedef std::istringstream istringstream; -#elif defined(HAVE_STRSTREAM) -#include <strstream> -typedef std::istrstream istringstream; -#else -#error "Need a stringstream (sstream or strstream) to compile!" -#endif - #include <tclap/ArgException.h> #include <tclap/Visitor.h> #include <tclap/CmdLineInterface.h> @@ -394,17 +384,17 @@ class Arg /** * Typedef of an Arg list iterator. */ -typedef std::list<Arg*>::iterator ArgListIterator; +typedef std::list<Arg*>::const_iterator ArgListIterator; /** * Typedef of an Arg vector iterator. */ -typedef std::vector<Arg*>::iterator ArgVectorIterator; +typedef std::vector<Arg*>::const_iterator ArgVectorIterator; /** * Typedef of a Visitor list iterator. */ -typedef std::list<Visitor*>::iterator VisitorListIterator; +typedef std::list<Visitor*>::const_iterator VisitorListIterator; /* * Extract a value of type T from it's string representation contained |