mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-02 13:47:56 +02:00
Fix warning.
This commit is contained in:
parent
a77535d0e4
commit
83ea2c0587
@ -18,7 +18,8 @@ HTTPSession *Request::get_or_create_session() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const std::string &Request::get_cookie(const std::string &key) {
|
const std::string &Request::get_cookie(const std::string &key) {
|
||||||
return "";
|
static std::string str;
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Request::add_cookie(const ::Cookie &cookie) {
|
void Request::add_cookie(const ::Cookie &cookie) {
|
||||||
|
Loading…
Reference in New Issue
Block a user