Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std::string_view for MISC::url_decode() #1043

Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Sep 24, 2022

Add test cases for MISC::chrtobin()

Add test cases for MISC::url_decode()

Use std::string_view for MISC::url_decode()

変更不可の文字列のポインターと長さを渡している関数の引数をstd::string_viewに交換して整理します。

  • 改行 CRLF は LF に変換します。

Use std::string_view for MISC::chrtobin()

変更不可の文字列のポインターと長さを渡している関数の引数をstd::string_viewに交換して整理します。

関連のissue: #76

ma8ma and others added 4 commits September 24, 2022 15:06
変更不可の文字列のポインターと長さを渡している関数の引数を
`std::string_view`に交換して整理します。

- 改行 CRLF は LF に変換します。

Co-authored-by: JD Project <jd.project@acc574344b8506f1335297eaa7f74be0f7ea992b>
変更不可の文字列のポインターと長さを渡している関数の引数を
`std::string_view`に交換して整理します。

Co-authored-by: JD Project <jd.project@acc574344b8506f1335297eaa7f74be0f7ea992b>
@ma8ma ma8ma added the refactoring コードの整理 (バグ修正でも機能変更でもない) label Sep 24, 2022
@ma8ma ma8ma merged commit 55902bb into JDimproved:master Sep 24, 2022
@ma8ma ma8ma deleted the use-std-string_view-for-misc-url_decode branch September 24, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring コードの整理 (バグ修正でも機能変更でもない)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant