[vte] regex: Add missing noexcept



commit ae2e8bdf4b6cf9d17b7c60b0752fed311bab1877
Author: Christian Persch <chpe src gnome org>
Date:   Thu Sep 19 11:18:36 2019 +0200

    regex: Add missing noexcept
    
    https://gitlab.gnome.org/GNOME/vte/issues/175

 src/regex.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/regex.cc b/src/regex.cc
index 5be07a46..78d077b7 100644
--- a/src/regex.cc
+++ b/src/regex.cc
@@ -130,7 +130,7 @@ Regex::compile(Regex::Purpose purpose,
  */
 bool
 Regex::jit(uint32_t flags,
-           GError** error)
+           GError** error) noexcept
 {
         if (!check_pcre_config_jit())
                 return TRUE;


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