[vte] all: Remove overzealous use of constexpr



commit c0cd47f88448969bd219047c3d56af65e35e9278
Author: Christian Persch <chpe src gnome org>
Date:   Sat Jan 13 22:29:28 2018 +0100

    all: Remove overzealous use of constexpr
    
    One more.
    Seems some compilers don't like it in these places.

 src/color-triple.hh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/color-triple.hh b/src/color-triple.hh
index d5b1ea8..3f94672 100644
--- a/src/color-triple.hh
+++ b/src/color-triple.hh
@@ -81,10 +81,10 @@ static inline constexpr uint32_t vte_color_triple_get_deco(vte_color_triple_t ct
         return uint32_t((ct >> VTE_COLOR_TRIPLE_DECO_SHIFT) & VTE_COLOR_TRIPLE_RGB_MASK(4, 5, 4));
 }
 
-static inline constexpr void vte_color_triple_get(vte_color_triple_t ct,
-                                                  uint32_t* fore,
-                                                  uint32_t* back,
-                                                  uint32_t* deco)
+static inline void vte_color_triple_get(vte_color_triple_t ct,
+                                        uint32_t* fore,
+                                        uint32_t* back,
+                                        uint32_t* deco)
 {
         *fore = vte_color_triple_get_fore(ct);
         *back = vte_color_triple_get_back(ct);


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