diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-08 17:51:34 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-09 18:32:34 +0200 |
commit | a2da17c8608d25f64239047d0ff497adb015e411 (patch) | |
tree | c6d4b656280fe0b91903ac3398af8ac56c051ca6 /include/device_proto.h | |
parent | 8bb22cbc88d930f4e88989bfbce0d19dcd0887e2 (diff) | |
download | libnitrokey-a2da17c8608d25f64239047d0ff497adb015e411.tar.gz libnitrokey-a2da17c8608d25f64239047d0ff497adb015e411.tar.bz2 |
Moving to shared ptr for device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/device_proto.h')
-rw-r--r-- | include/device_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device_proto.h b/include/device_proto.h index 40b2a22..4044cdc 100644 --- a/include/device_proto.h +++ b/include/device_proto.h @@ -144,7 +144,7 @@ public: bzero(&packet, sizeof(packet)); } - response_payload & data(){ + response_payload & data() { return packet.payload; } |