summaryrefslogtreecommitdiff
path: root/src/modules/rpc.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-11 10:26:18 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-11 10:26:18 +0000
commit4798f98adad084cf9e207cc7b32d7e4370e9cc90 (patch)
tree97c98887415f3ec339212b3d179664ba11fb3a48 /src/modules/rpc.h
parent25c8c8ba0247236f660bbbbfc665ae735f88fc31 (diff)
Last of the -Wshadow fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/rpc.h')
-rw-r--r--src/modules/rpc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/rpc.h b/src/modules/rpc.h
index c9acc3b7d..75a7efd62 100644
--- a/src/modules/rpc.h
+++ b/src/modules/rpc.h
@@ -106,11 +106,11 @@ class RPCValue : public classbase
public:
RPCValue *parent;
- RPCValue(RPCValue *parent = NULL) : type(RPCNull), value(NULL), parent(parent) { }
- RPCValue(RPCValueType type, RPCValue *parent = NULL) : type(type), value(NULL), parent(parent) { InitValue(); }
- RPCValue(bool nvalue, RPCValue *parent = NULL) : type(RPCBoolean), value((void*)nvalue), parent(parent) { }
- RPCValue(double nvalue, RPCValue *parent = NULL) : type(RPCInteger), parent(parent) { value = new double(nvalue); }
- RPCValue(const std::string &nvalue, RPCValue *parent = NULL) : type(RPCString), parent(parent) { value = new std::string(nvalue); }
+ RPCValue(RPCValue *rparent = NULL) : type(RPCNull), value(NULL), parent(rparent) { }
+ RPCValue(RPCValueType ttype, RPCValue *rparent = NULL) : type(ttype), value(NULL), parent(rparent) { InitValue(); }
+ RPCValue(bool nvalue, RPCValue *rparent = NULL) : type(RPCBoolean), value((void*)nvalue), parent(rparent) { }
+ RPCValue(double nvalue, RPCValue *rparent = NULL) : type(RPCInteger), parent(rparent) { value = new double(nvalue); }
+ RPCValue(const std::string &nvalue, RPCValue *rparent = NULL) : type(RPCString), parent(rparent) { value = new std::string(nvalue); }
virtual ~RPCValue()
{
@@ -280,8 +280,8 @@ class RPCRequest : public classbase
bool claimed;
std::string error;
- RPCRequest(const std::string &provider, const std::string &method, RPCValue *parameters)
- : method(method), parameters(parameters), provider(provider), claimed(false)
+ RPCRequest(const std::string &sprovider, const std::string &smethod, RPCValue *rparameters)
+ : method(smethod), parameters(rparameters), provider(sprovider), claimed(false)
{
result = new RPCValue();
}