forked from JDimproved/JDim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change function argument type for MISC::get_hostname() (JDimproved#1293)
引数のURLからホスト名を取得する関数の引数型を`std::string`から `std::string_view`に変更します。 修正前は`std::string_view`を使いたい処理の中で`get_hostname()`を 呼び出す部分があると一時的な`std::string`を作る必要があったため `std::string_view`が利用にしくい問題がありました。
- Loading branch information
Showing
2 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters