mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
refactor: use std::string in tr_variantToStr() (#2351)
* refactor: use std::string in tr_variantToStr()
This commit is contained in:
@@ -228,7 +228,7 @@ constexpr bool tr_str_is_empty(char const* value)
|
||||
return value == nullptr || *value == '\0';
|
||||
}
|
||||
|
||||
char* evbuffer_free_to_str(struct evbuffer* buf, size_t* result_len);
|
||||
std::string evbuffer_free_to_str(evbuffer* buf);
|
||||
|
||||
/**
|
||||
* @brief sprintf() a string into a newly-allocated buffer large enough to hold it
|
||||
|
||||
Reference in New Issue
Block a user