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 a177116 commit 4861931Copy full SHA for 4861931
c-dependencies/js-compute-runtime/builtins/backend.cpp
@@ -259,7 +259,7 @@ class OpenSSLCipherConfigurationParser {
259
260
void moveToEnd(std::vector<Cipher> &ciphers,
261
const std::vector<Cipher> &ciphersToMoveToEnd) const {
262
- std::stable_partition(ciphers.begin(), ciphers.end(), [ciphersToMoveToEnd](auto cipher) {
+ std::stable_partition(ciphers.begin(), ciphers.end(), [&ciphersToMoveToEnd](auto &cipher) {
263
return std::find(ciphersToMoveToEnd.begin(), ciphersToMoveToEnd.end(), cipher) ==
264
ciphersToMoveToEnd.end();
265
});
0 commit comments