diff --git a/Reverse.cpp b/Reverse.cpp index 135757a..10c272b 100644 --- a/Reverse.cpp +++ b/Reverse.cpp @@ -6,6 +6,8 @@ std::string Reverse::reverse(std::string& toReverse) for(std::string::reverse_iterator rit=toReverse.rbegin(); rit!=toReverse.rend(); ++rit) { + + // ret.insert(ret.end(), *rit); } return ret;