diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-11-28 20:27:15 -0800 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-12-03 17:08:26 -0800 |
commit | ed3958a0c1c64ef68d16579abeca6a7947e0549e (patch) | |
tree | 3741db89cf4f7e35da9caed7964183fb30b5ee50 /gi/object.h | |
parent | 6d641029ec145707ce4685cdf557b8551b49e187 (diff) | |
download | gjs-ed3958a0c1c64ef68d16579abeca6a7947e0549e.tar.gz |
wrapperutils: Remove to_string_kind()
None of the classes except ObjectInstance ever need to display a string
tag in toString() that isn't a constexpr. Just use DEBUG_TAG for this
purpose, and let ObjectBase override toString() as it already does.
Diffstat (limited to 'gi/object.h')
-rw-r--r-- | gi/object.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gi/object.h b/gi/object.h index 2467fc40..d3f1ebf5 100644 --- a/gi/object.h +++ b/gi/object.h @@ -168,7 +168,6 @@ class ObjectBase JS::Value* vp); GJS_JSAPI_RETURN_CONVENTION static bool to_string(JSContext* cx, unsigned argc, JS::Value* vp); - [[nodiscard]] const char* to_string_kind() const; GJS_JSAPI_RETURN_CONVENTION static bool init_gobject(JSContext* cx, unsigned argc, JS::Value* vp); GJS_JSAPI_RETURN_CONVENTION |