From 1015a97b988af86c6567059282e953705efff429 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 8 Aug 2016 20:36:17 +0200 Subject: Remove incorrect const declaration Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 2 +- include/NitrokeyManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index fb23ca1..83412b1 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -208,7 +208,7 @@ namespace nitrokey{ return (const char *) get_slot_name(slot_number); } - uint8_t *NitrokeyManager::get_slot_name(uint8_t slot_number) const { //FIXME -const s/uint/char:string + uint8_t *NitrokeyManager::get_slot_name(uint8_t slot_number) { //FIXME -const s/uint/char:string auto payload = get_payload(); payload.slot_number = slot_number; auto resp = GetSlotName::CommandTransaction::run(*device, payload); diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index ca8ce78..c362644 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -95,7 +95,7 @@ namespace nitrokey { uint8_t get_internal_slot_number_for_hotp(uint8_t slot_number) const; uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const; bool erase_slot(uint8_t slot_number, const char *temporary_password); - uint8_t *get_slot_name(uint8_t slot_number) const; + uint8_t *get_slot_name(uint8_t slot_number); template void change_PIN_general(char *current_PIN, char *new_PIN); -- cgit v1.2.3