From ef2d497fcb19ce8f19d352eba4e1629fde6d1326 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Fri, 6 Apr 2018 20:32:58 +0200 Subject: [PATCH] Removing unneeded string qualifier --- include/CLI/Optional.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/CLI/Optional.hpp b/include/CLI/Optional.hpp index 6370c45..1597da3 100644 --- a/include/CLI/Optional.hpp +++ b/include/CLI/Optional.hpp @@ -35,7 +35,7 @@ namespace CLI { #ifdef CLI11_STD_OPTIONAL -template std::istringstream &operator>>(std::istringstream &in, std::optional &val) { +template std::istream &operator>>(std::istream &in, std::optional &val) { T v; in >> v; val = v; @@ -44,7 +44,7 @@ template std::istringstream &operator>>(std::istringstream &in, std #endif #ifdef CLI11_EXPERIMENTAL_OPTIONAL -template std::istringstream &operator>>(std::istringstream &in, std::experimental::optional &val) { +template std::istream &operator>>(std::istream &in, std::experimental::optional &val) { T v; in >> v; val = v; @@ -53,7 +53,7 @@ template std::istringstream &operator>>(std::istringstream &in, std #endif #ifdef CLI11_BOOST_OPTIONAL -template std::istringstream &operator>>(std::istringstream &in, boost::optional &val) { +template std::istream &operator>>(std::istream &in, boost::optional &val) { T v; in >> v; val = v; -- libgit2 0.21.4