Commit 4aeaa525 by Maarten L. Hekkelman

revert change to string_view, not working on macOS

parent b36988e6
...@@ -223,7 +223,7 @@ bool is_valid_pdbx_file(const file &file, std::string_view dictionary) ...@@ -223,7 +223,7 @@ bool is_valid_pdbx_file(const file &file, std::string_view dictionary)
letter = '(' + comp_id + ')'; letter = '(' + comp_id + ')';
} }
if (iequals(std::string_view{si, si + letter.length()}, letter)) if (iequals(std::string{si, si + letter.length()}, letter))
{ {
match = true; match = true;
si += letter.length(); si += letter.length();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment