Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5f56703

Browse filesBrowse files
committed
Make encode method's static
1 parent d739407 commit 5f56703
Copy full SHA for 5f56703

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/URLEncoder.h

Copy file name to clipboardExpand all lines: src/URLEncoder.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ class URLEncoderClass
1313
URLEncoderClass();
1414
virtual ~URLEncoderClass();
1515

16-
String encode(const char* str);
17-
String encode(const String& str);
16+
static String encode(const char* str);
17+
static String encode(const String& str);
1818

1919
private:
20-
String encode(const char* str, int length);
20+
static String encode(const char* str, int length);
2121
};
2222

2323
extern URLEncoderClass URLEncoder;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.