From 8e8250e9dd3091083e36055a321abe565ec3d8ef Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Sun, 16 Jul 2023 19:23:25 +1000 Subject: [PATCH] headers: Explicitly hide BAlert functions Explicitly hide some BAlert functions that ought to have been deleted. This prevents binding generators from thinking that these functions are available, causing undefined symbol errors during link time. Change-Id: I56f53808851b82a10f31015d2351d4e2c29b6f33 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6718 Tested-by: Commit checker robot Reviewed-by: Adrien Destugues --- headers/os/interface/Alert.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/os/interface/Alert.h b/headers/os/interface/Alert.h index 3ac24417b3..69d838295f 100644 --- a/headers/os/interface/Alert.h +++ b/headers/os/interface/Alert.h @@ -97,6 +97,9 @@ private: virtual void _ReservedAlert2(); virtual void _ReservedAlert3(); + BAlert(BAlert&); + BAlert& operator=(BAlert&); + void _Init(const char* text, const char* button1, const char* button2, const char* button3, button_width width, button_spacing spacing,