From 86ec48552bdb35b063343dd37bfd8963e65f898c Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 30 Sep 2017 12:50:09 -0400 Subject: Another FFI struct vs class fix --- src/lib/ffi/ffi_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { public: explicit NAME(TYPE* x) : botan_struct(x) {} } + struct NAME final : public botan_struct { explicit NAME(TYPE* x) : botan_struct(x) {} } // Declared in ffi.cpp int ffi_error_exception_thrown(const char* func_name, const char* exn); -- cgit v1.2.3