Skip to content

Commit 0a8896b

Browse files
committed
fixup! Mark OpaqueWrappable specializations as final
1 parent 2fb8553 commit 0a8896b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/workerd/jsg/promise.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ namespace workerd::jsg {
2525
template <typename T, bool = isGcVisitable<T>()>
2626
struct OpaqueWrappable;
2727

28-
struct OpaqueWrappableBase: public Wrappable {
28+
#define DEFAULT_VISIBILITY __attribute__((visibility("default")))
29+
30+
struct DEFAULT_VISIBILITY OpaqueWrappableBase: public Wrappable {
2931
kj::StringPtr jsgGetMemoryName() const override final {
3032
return "OpaqueWrappable"_kjc;
3133
}

0 commit comments

Comments
 (0)