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
Describe the bug
I get the following warning when building with Xcode 11.2:
Loop variable 's' has type 'const ghc::filesystem::path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside path::parent_path implementation, this line: for (const string_type& s : input_iterator_range<iterator>(begin(), --end())) {
Loop variable 's' has type 'const ghc::filesystem::path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside path::lexically_normal implementation, this line: for (const string_type& s : *this) {
Loop variable 'part' has type 'const path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside create_directories implementation, this line: for (const path::string_type& part : p) {
Would it be possible to remove them?
The text was updated successfully, but these errors were encountered:
Describe the bug
I get the following warning when building with Xcode 11.2:
Loop variable 's' has type 'const ghc::filesystem::path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside
path::parent_path
implementation, this line:for (const string_type& s : input_iterator_range<iterator>(begin(), --end())) {
Loop variable 's' has type 'const ghc::filesystem::path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside
path::lexically_normal
implementation, this line:for (const string_type& s : *this) {
Loop variable 'part' has type 'const path::string_type &' (aka 'const basic_string<char> &') but is initialized with type 'const ghc::filesystem::path' resulting in a copy
Inside
create_directories
implementation, this line:for (const path::string_type& part : p) {
Would it be possible to remove them?
The text was updated successfully, but these errors were encountered: