aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-08 20:36:17 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-09 18:34:00 +0200
commit1015a97b988af86c6567059282e953705efff429 (patch)
treed146a5cf4fd70b25826b2264ce46c966bd257fc7 /NitrokeyManager.cc
parent8346fe8134ccb243bf871c7ba21645b81a2fd3fd (diff)
downloadlibnitrokey-1015a97b988af86c6567059282e953705efff429.tar.gz
libnitrokey-1015a97b988af86c6567059282e953705efff429.tar.bz2
Remove incorrect const declaration
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 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<GetSlotName>();
payload.slot_number = slot_number;
auto resp = GetSlotName::CommandTransaction::run(*device, payload);