From: Ricardo Markiewicz Date: Tue, 27 Sep 2005 15:35:17 +0000 (+0000) Subject: Fix en conversion a string. X-Git-Tag: 1_0-pre1~83 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/31ec4d4de2e362f66015fd28fcfd2b3ef4c3542f?ds=sidebyside Fix en conversion a string. --- diff --git a/src/clave_variable.h b/src/clave_variable.h index fbe5011..75cecfd 100644 --- a/src/clave_variable.h +++ b/src/clave_variable.h @@ -23,11 +23,7 @@ class ClaveVariable : public Clave { virtual bool operator < (const Clave &c) const; virtual bool operator == (const Clave &c) const; virtual operator std::string () const { - std::string out; - std::stringstream ss; - ss << data; - ss >> out; - return out; + return data; } private: std::string data;