From 31ec4d4de2e362f66015fd28fcfd2b3ef4c3542f Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Tue, 27 Sep 2005 15:35:17 +0000 Subject: [PATCH] Fix en conversion a string. --- src/clave_variable.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; -- 2.43.0