Skip to content

Commit 82138ee

Browse files
committed
Add constexpr
WE2-1007 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent ec1884c commit 82138ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/electronic-ids/pcsc/pcsc-common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ inline pcsc_cpp::byte_vector getCertificate(pcsc_cpp::SmartCard& card,
4343
return readBinary(card, length, MAX_LE_VALUE);
4444
}
4545

46-
inline pcsc_cpp::byte_vector addPaddingToPin(pcsc_cpp::byte_vector&& pin, size_t paddingLength,
46+
constexpr pcsc_cpp::byte_vector addPaddingToPin(pcsc_cpp::byte_vector&& pin, size_t paddingLength,
4747
pcsc_cpp::byte_type paddingChar)
4848
{
4949
pin.resize(std::max(pin.size(), paddingLength), paddingChar);

0 commit comments

Comments
 (0)