diff --git a/include/tclap/Arg.h b/include/tclap/Arg.h index 3ad3e77..31e8381 100644 --- a/include/tclap/Arg.h +++ b/include/tclap/Arg.h @@ -39,16 +39,6 @@ #include -#if defined(HAVE_SSTREAM) -#include -typedef std::istringstream istringstream; -#elif defined(HAVE_STRSTREAM) -#include -typedef std::istrstream istringstream; -#else -#error "Need a stringstream (sstream or strstream) to compile!" -#endif - #include #include #include diff --git a/include/tclap/ValuesConstraint.h b/include/tclap/ValuesConstraint.h index d1c1df7..cff90be 100644 --- a/include/tclap/ValuesConstraint.h +++ b/include/tclap/ValuesConstraint.h @@ -93,15 +93,7 @@ ValuesConstraint::ValuesConstraint(std::vector& allowed) { for ( unsigned int i = 0; i < _allowed.size(); i++ ) { - -#if defined(HAVE_SSTREAM) std::ostringstream os; -#elif defined(HAVE_STRSTREAM) - std::ostrstream os; -#else -#error "Need a stringstream (sstream or strstream) to compile!" -#endif - os << _allowed[i]; std::string temp( os.str() );