copy constructor requires explicit default constructor; refs #28

master
Marc Wäckerlin 11 years ago
parent a6871ee20b
commit d8f6abe3ce
  1. 6
      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),
@ -603,6 +606,9 @@ namespace cryptoki {
CK_VERSION firmwareVersion;
FixString<16> utcTime;
TokenInfo() {
}
//! Convert C-Structure of Token Information Into C++
TokenInfo(const CK_TOKEN_INFO& cInfo):
label(cInfo.label),

Loading…
Cancel
Save