Skip to content

Commit 7dc2f1b

Browse files
committed
Fixed python build
1 parent 1254bca commit 7dc2f1b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

openspell/bloom_filter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TBloomFilter {
1313
void Save(std::ostream& out) const;
1414
void Load(std::istream& in);
1515
private:
16-
class Impl;
16+
struct Impl;
1717
std::unique_ptr<Impl> BloomFilter;
1818
};
1919

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
os.path.join('openspell', 'lang_model.cpp'),
1919
os.path.join('openspell', 'spell_corrector.cpp'),
2020
os.path.join('openspell', 'utils.cpp'),
21-
os.path.join('openspell', 'phf_utils.cpp'),
21+
os.path.join('openspell', 'perfect_hash.cpp'),
22+
os.path.join('openspell', 'bloom_filter.cpp'),
2223
os.path.join('contrib', 'cityhash', 'city.cc'),
2324
os.path.join('contrib', 'phf', 'phf.cc'),
2425
os.path.join('openspell.i'),

0 commit comments

Comments
 (0)