diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-01-04 13:22:19 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-03-08 08:07:55 -0800 |
commit | f3c264e9a6deaa12e89faa783d3c7c99b945f18e (patch) | |
tree | e7dddfc1c89f95d2045b13e197508dce7101c2b9 /src/rpc/client.cpp | |
parent | 6996e066b538f03b8aa1f617dbb959b57ff6e727 (diff) |
Refactor: Remove using namespace <xxx> from rpc/
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index a8c5c21ef1..2cb250a198 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -13,8 +13,6 @@ #include <boost/algorithm/string/case_conv.hpp> // for to_lower() #include <univalue.h> -using namespace std; - class CRPCConvertParam { public: @@ -168,7 +166,7 @@ UniValue ParseNonRFCJSONValue(const std::string& strVal) UniValue jVal; if (!jVal.read(std::string("[")+strVal+std::string("]")) || !jVal.isArray() || jVal.size()!=1) - throw runtime_error(string("Error parsing JSON:")+strVal); + throw std::runtime_error(std::string("Error parsing JSON:")+strVal); return jVal[0]; } |