fix thinko-bug in string specialization of Property<T>
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 2 Sep 2010 16:59:27 +0000 (16:59 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 2 Sep 2010 16:59:27 +0000 (16:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7731 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/pbd/pbd/properties.h

index fa8e4cf3eb552d541eb7c2bd972fba51cab865bb..01aed7cef03bed52b1a0b8a8068901b3126a86de 100644 (file)
@@ -291,7 +291,7 @@ public:
 
 private:
        std::string to_string (std::string const& v) const {
-               return _current;
+               return v;
        }
 
        std::string from_string (std::string const& s) const {