[gjs] object: Remove inline from proto_priv_from_js()



commit 451de3658e7d56609ad618d7d80a15f9b42044b4
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jun 3 14:48:25 2018 -0700

    object: Remove inline from proto_priv_from_js()
    
    The compiler is complaining about failing to inline because of the
    inline-unit-growth limit. I guess we can just remove the keyword and let
    the compiler decide here, since the inline function isn't in a header
    file.
    
    Unreviewed, pushing to fix build.

 gi/object.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/object.cpp b/gi/object.cpp
index f9417df9..1cd86e23 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -303,7 +303,7 @@ find_param_spec_from_id(JSContext       *cx,
     return entry->value().get();  /* owned by property cache */
 }
 
-static inline ObjectInstance *
+static ObjectInstance *
 proto_priv_from_js(JSContext       *context,
                    JS::HandleObject obj)
 {


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