diff options
Diffstat (limited to 'utils/std_string_utils.cpp')
-rw-r--r-- | utils/std_string_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index bac8957325..7f4ff47be6 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. std::string utils::url::encode(const std::string &s) { - return mir_urlEncode(s.c_str()); + return std::string(mir_urlEncode(s.c_str())); } std::string utils::url::decode(std::string data) |