mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-05 21:26:06 -05:00
added missing initialisation in resource_api::Request
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f7935e3bd7
commit
8049d09f8d
@ -181,7 +181,7 @@ private:
|
||||
class Request
|
||||
{
|
||||
public:
|
||||
Request(StreamBase& stream): mStream(stream){}
|
||||
Request(StreamBase& stream): mStream(stream), mMethod(GET){}
|
||||
|
||||
bool isGet(){ return mMethod == GET;}
|
||||
bool isPut(){ return mMethod == PUT;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user