]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Fixed error handling.
[stg.git] / include / stg / user_property.h
index d76326f1ffe396b410765200cb2f67f737798916..1716296acd7300482c53f3014c41d7f13869574d 100644 (file)
@@ -388,7 +388,6 @@ std::string USER_PROPERTY<varT>::ToString() const
 {
 std::stringstream stream;
 stream << value;
-std::string stringValue = stream.str();
-return stringValue;
+return stream.str();
 }
 #endif // USER_PROPERTY_H