aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-30 12:50:09 -0400
committerJack Lloyd <[email protected]>2017-09-30 12:50:09 -0400
commit86ec48552bdb35b063343dd37bfd8963e65f898c (patch)
tree82825190caeb5776194e93eef76b209f6389ddc0 /src/lib/ffi
parenta99f84d651ebd37de172e782bf26dfeba44d1f66 (diff)
Another FFI struct vs class fix
Diffstat (limited to 'src/lib/ffi')
-rw-r--r--src/lib/ffi/ffi_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_util.h b/src/lib/ffi/ffi_util.h
index a5310f7d3..7f959259c 100644
--- a/src/lib/ffi/ffi_util.h
+++ b/src/lib/ffi/ffi_util.h
@@ -46,7 +46,7 @@ struct botan_struct
};
#define BOTAN_FFI_DECLARE_STRUCT(NAME, TYPE, MAGIC) \
- class NAME final : public botan_struct<TYPE, MAGIC> { public: explicit NAME(TYPE* x) : botan_struct(x) {} }
+ struct NAME final : public botan_struct<TYPE, MAGIC> { explicit NAME(TYPE* x) : botan_struct(x) {} }
// Declared in ffi.cpp
int ffi_error_exception_thrown(const char* func_name, const char* exn);