ext/annoy/src/annoylib.h in annoy-rb-0.3.0 vs ext/annoy/src/annoylib.h in annoy-rb-0.4.0

- old
+ new

@@ -866,9 +866,11 @@ int _fd; bool _on_disk; bool _built; public: + AnnoyIndex() : _f(0), _fd(0), _nodes(NULL), _n_items(0), _n_nodes(0), _nodes_size(0), + _is_seeded(false), _loaded(false), _verbose(false), _on_disk(false), _built(false) { } AnnoyIndex(int f) : _f(f) { _s = offsetof(Node, v) + _f * sizeof(T); // Size of each node _verbose = false; _built = false; _K = (S) (((size_t) (_s - offsetof(Node, children))) / sizeof(S)); // Max number of descendants to fit into node