summaryrefslogtreecommitdiff
path: root/src/modules/m_rpc_json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_rpc_json.cpp')
-rw-r--r--src/modules/m_rpc_json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_rpc_json.cpp b/src/modules/m_rpc_json.cpp
index e0421f611..415e8b2d7 100644
--- a/src/modules/m_rpc_json.cpp
+++ b/src/modules/m_rpc_json.cpp
@@ -27,8 +27,8 @@ class JsonException : public std::exception
private:
std::string _what;
public:
- JsonException(const std::string &what)
- : _what(what)
+ JsonException(const std::string &swhat)
+ : _what(swhat)
{
}