We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433f4e0 commit b62a4aaCopy full SHA for b62a4aa
swift/extractor/main.cpp
@@ -109,7 +109,7 @@ static void checkWhetherToRunUnderTool(int argc, char* const* argv) {
109
codeql::TargetFile invocationTargetFile(codeql::SwiftExtractorConfiguration& configuration) {
110
auto hasher = picosha2::hash256_one_by_one();
111
for (auto& option : configuration.frontendOptions) {
112
- hasher.process(std::begin(option), std::end(option));
+ hasher.process(option.c_str(), option.c_str() + option.size() + 1);
113
}
114
hasher.finish();
115
auto target = "invocation-"s + get_hash_hex_string(hasher);
0 commit comments