branch: externals/xeft
commit 6efff4f20d601fae937766301a4c2655cff72d91
Author: Yuan Fu <caso...@gmail.com>
Commit: Yuan Fu <caso...@gmail.com>

    Add conexcept qualifier
    
    * xeft-module.cc (reindex_file):
    (query_term):
---
 xeft-module.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xeft-module.cc b/xeft-module.cc
index d13143bbc9..f99bb62c22 100644
--- a/xeft-module.cc
+++ b/xeft-module.cc
@@ -64,6 +64,7 @@ class xeft_cannot_open_file: public exception {};
 static bool
 reindex_file
 (string path, string dbpath, string lang = "en", bool force = false)
+  EMACS_NOEXCEPT
 {
   // Check for mtime.
   struct stat st;
@@ -146,7 +147,8 @@ reindex_file
 // https://xapian.org/docs/apidoc/html/classXapian_1_1Stem.html
 static vector<string>
 query_term
-(string term, string dbpath, int offset, int page_size, string lang = "en")
+(string term, string dbpath, int offset, int page_size,
+ string lang = "en") EMACS_NOEXCEPT
 {
   // See reindex_file for the reason for caching the database object.
   if (dbpath != cached_dbpath)

Reply via email to