You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rpc/client.cpp
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,13 @@
4
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
6
6
#include<rpc/client.h>
7
+
#include<tinyformat.h>
7
8
#include<util/system.h>
8
9
9
10
#include<set>
10
11
#include<stdint.h>
12
+
#include<string>
13
+
#include<string_view>
11
14
12
15
classCRPCConvertParam
13
16
{
@@ -228,15 +231,15 @@ class CRPCConvertTable
228
231
CRPCConvertTable();
229
232
230
233
/** Return arg_value as UniValue, and first parse it if it is a non-string parameter */
231
-
UniValue ArgToUniValue(conststd::string& arg_value, const std::string& method, int param_idx)
234
+
UniValue ArgToUniValue(std::string_view arg_value, const std::string& method, int param_idx)
0 commit comments