mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Fis logic in has() in HTTPSession.
This commit is contained in:
parent
7323c38776
commit
e728d826f1
@ -16,7 +16,7 @@ void HTTPSession::remove(const String &key) {
|
|||||||
_mutex.unlock();
|
_mutex.unlock();
|
||||||
}
|
}
|
||||||
bool HTTPSession::has(const String &key) {
|
bool HTTPSession::has(const String &key) {
|
||||||
return _data[key].is_null();
|
return !_data[key].is_null();
|
||||||
}
|
}
|
||||||
|
|
||||||
Variant HTTPSession::get(const String &key) {
|
Variant HTTPSession::get(const String &key) {
|
||||||
|
Loading…
Reference in New Issue
Block a user