Skip to content

Commit 4861931

Browse files
Update c-dependencies/js-compute-runtime/builtins/backend.cpp
Co-authored-by: Trevor Elliott <[email protected]>
1 parent a177116 commit 4861931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c-dependencies/js-compute-runtime/builtins/backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class OpenSSLCipherConfigurationParser {
259259

260260
void moveToEnd(std::vector<Cipher> &ciphers,
261261
const std::vector<Cipher> &ciphersToMoveToEnd) const {
262-
std::stable_partition(ciphers.begin(), ciphers.end(), [ciphersToMoveToEnd](auto cipher) {
262+
std::stable_partition(ciphers.begin(), ciphers.end(), [&ciphersToMoveToEnd](auto &cipher) {
263263
return std::find(ciphersToMoveToEnd.begin(), ciphersToMoveToEnd.end(), cipher) ==
264264
ciphersToMoveToEnd.end();
265265
});

0 commit comments

Comments
 (0)