From d8f6abe3ce02f8b573db72f275b8ad61df911a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 21 Jan 2014 08:20:33 +0000 Subject: [PATCH] copy constructor requires explicit default constructor; refs #28 --- src/cryptoki.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cryptoki.hxx b/src/cryptoki.hxx index 77838ee..38d97f6 100644 --- a/src/cryptoki.hxx +++ b/src/cryptoki.hxx @@ -573,6 +573,9 @@ namespace cryptoki { CK_VERSION hardwareVersion; CK_VERSION firmwareVersion; + SlotInfo() { + } + //! Convert C-Structure of Slot Information Into C++ SlotInfo(const CK_SLOT_INFO& cInfo): slotDescription(cInfo.slotDescription), @@ -602,6 +605,9 @@ namespace cryptoki { CK_VERSION hardwareVersion; CK_VERSION firmwareVersion; FixString<16> utcTime; + + TokenInfo() { + } //! Convert C-Structure of Token Information Into C++ TokenInfo(const CK_TOKEN_INFO& cInfo):