From 3101bd02159fe7ed2fc1d129a76c1ca2b5bd871e Mon Sep 17 00:00:00 2001 From: Denis T Date: Sat, 11 Jan 2025 23:40:32 +0000 Subject: [PATCH] Minor typo fix --- pe_bliss2/src/security/x500/flat_distinguished_name.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pe_bliss2/src/security/x500/flat_distinguished_name.cpp b/pe_bliss2/src/security/x500/flat_distinguished_name.cpp index 5efd1e7..ff7fc5e 100644 --- a/pe_bliss2/src/security/x500/flat_distinguished_name.cpp +++ b/pe_bliss2/src/security/x500/flat_distinguished_name.cpp @@ -76,9 +76,9 @@ std::optional::directory_string_type { try { - const auto str = asn1::der::decode>(it->second.begin(), it->second.end()); - std::visit([&result](auto& moved) { result = std::move(moved); }, std::move(str)); + std::visit([&result](auto&& moved) { result = std::move(moved); }, std::move(str)); } catch (const asn1::parse_error&) {