aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_util.h')
-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);