]> git.llucax.com Git - z.facultad/75.52/treemulator.git/commitdiff
Fix en conversion a string.
authorRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 27 Sep 2005 15:35:17 +0000 (15:35 +0000)
committerRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 27 Sep 2005 15:35:17 +0000 (15:35 +0000)
src/clave_variable.h

index fbe501174d6f15e55cecf04438526e5d5adefe1b..75cecfd3a5157caa4569bc7f25b1dc2e571704ef 100644 (file)
@@ -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;