diff --git a/include/argparse.hpp b/include/argparse.hpp index 771a54c..de17c04 100644 --- a/include/argparse.hpp +++ b/include/argparse.hpp @@ -515,8 +515,8 @@ public: } // Format help message - auto help() const -> std::ostringstream { - std::ostringstream out; + auto help() const -> std::stringstream { + std::stringstream out; out << *this; return out; }