mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibJS: Avoid naming conflict between Object's and Error's is_error
Object defines an is_error virtual method to be overridden by Error for fast-is. This is the same name as the Error.isError constructor method. Rename the former to avoid conflicts, as GCC 15 just started warning on this.
This commit is contained in:
parent
6d622a6c04
commit
317cf65eb0
Notes:
github-actions[bot]
2025-04-26 15:05:50 +00:00
Author: https://github.com/trflynn89
Commit: 317cf65eb0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4488
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 3 additions and 3 deletions
|
@ -197,7 +197,7 @@ public:
|
|||
|
||||
virtual bool is_function() const { return false; }
|
||||
virtual bool is_promise() const { return false; }
|
||||
virtual bool is_error() const { return false; }
|
||||
virtual bool is_error_object() const { return false; }
|
||||
virtual bool is_date() const { return false; }
|
||||
virtual bool is_number_object() const { return false; }
|
||||
virtual bool is_boolean_object() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue