diff options
author | Jack Lloyd <[email protected]> | 2017-09-30 12:50:09 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-30 12:50:09 -0400 |
commit | 86ec48552bdb35b063343dd37bfd8963e65f898c (patch) | |
tree | 82825190caeb5776194e93eef76b209f6389ddc0 | |
parent | a99f84d651ebd37de172e782bf26dfeba44d1f66 (diff) |
Another FFI struct vs class fix
-rw-r--r-- | src/lib/ffi/ffi_util.h | 2 |
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); |