aboutsummaryrefslogtreecommitdiff
path: root/devel/py-Levenshtein/files/patch-src_Levenshtein_Levenshtein-c___levenshtein.cpp
blob: 6e2fd484a0b4a427d6f4608024d80cb9945193cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/Levenshtein/Levenshtein-c/_levenshtein.cpp.orig	2023-09-26 11:15:28 UTC
+++ src/Levenshtein/Levenshtein-c/_levenshtein.cpp
@@ -119,10 +119,10 @@ class SymMap { (public)
     }
 };
 
-std::basic_string<uint32_t> lev_quick_median(const std::vector<RF_String>& strings,
-                                             const std::vector<double>& weights)
+std::vector<uint32_t> lev_quick_median(const std::vector<RF_String>& strings,
+                                       const std::vector<double>& weights)
 {
-    std::basic_string<uint32_t> median; /* the resulting string */
+    std::vector<uint32_t> median; /* the resulting string */
 
     /* first check whether the result would be an empty string
      * and compute resulting string length */