diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2016-02-22 21:36:10 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2016-02-22 21:36:10 -0500 |
commit | cf1bb2f95d0924f95eeb3ab2b39b180e471f9434 (patch) | |
tree | 33f207855ef65449344778be1cdb50375b221b98 /src/encoding.h | |
parent | bdab511d954a849d06e34f6d801cc374f867213b (diff) |
Mangle names
Diffstat (limited to 'src/encoding.h')
-rw-r--r-- | src/encoding.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/encoding.h b/src/encoding.h index 717d421..d6e72ea 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -15,7 +15,7 @@ #ifndef ENCODING_H_ #define ENCODING_H_ -#include <sstream> +#include <string> #include <stdexcept> namespace scoville { @@ -30,9 +30,9 @@ class DecodingFailure : public std::logic_error { using std::logic_error::logic_error; }; -void Encode(std::istringstream*, std::ostringstream*); +std::string Encode(const std::string&); -void Decode(std::istringstream*, std::ostringstream*); +std::string Decode(const std::string&); } // scoville |