diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-03 09:30:35 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-03 09:30:35 -0800 |
commit | d2c30bf5a212061c70f5ac2fded8a6519c4a2870 (patch) | |
tree | ddf9c8bd6613013e8f712dc78312d84ca2bf46fb /nitrokey-sys/libnitrokey-v3.5 | |
parent | ecf3474223ca3d16a10f12dc2272e3b0ed72c1bb (diff) | |
download | nitrocli-d2c30bf5a212061c70f5ac2fded8a6519c4a2870.tar.gz nitrocli-d2c30bf5a212061c70f5ac2fded8a6519c4a2870.tar.bz2 |
Adjust get_error function to accept CommandError by value
With the recent update of the nitrokey create the nitrokey::CommandError
enum has become trivially copyable. Hence, there is no more point in
passing a reference to it to the get_error function.
To that end, this change adjusts the signature to accept an owned value
instead.
Diffstat (limited to 'nitrokey-sys/libnitrokey-v3.5')
0 files changed, 0 insertions, 0 deletions