[gjs/march-maintenance: 5/6] object: Add missing annotation



commit 1957ef38dc572d7ce9d623d8c28f83e5cd17a3e5
Author: Philip Chimento <philip chimento gmail com>
Date:   Wed Mar 11 22:52:46 2020 -0700

    object: Add missing annotation
    
    Good practice: it's probably a bug if we disregard this value.

 gi/object.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/object.h b/gi/object.h
index b6f11e5c..eaf7a842 100644
--- a/gi/object.h
+++ b/gi/object.h
@@ -136,7 +136,7 @@ class ObjectBase
         GIWrapperBase::debug_lifecycle(jsobj_addr(), message);
     }
 
-    bool id_is_never_lazy(jsid name, const GjsAtoms& atoms);
+    GJS_USE bool id_is_never_lazy(jsid name, const GjsAtoms& atoms);
     GJS_USE bool is_custom_js_class();
 
  public:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]