diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-23 05:29:32 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-25 07:56:57 +0000 |
commit | c703043e1d0ff1501ecd5c19c490a4911240744a (patch) | |
tree | db84e9461bce0f766658afb03c8f27de99f2b897 /streamingvisitors/src/vespa/searchvisitor/searchenvironment.h | |
parent | 78a211072a21ec5f368b99bce19c1b703d98152d (diff) |
Use WordFolder as helper instead of inheriting static stuff.
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/searchenvironment.h')
-rw-r--r-- | streamingvisitors/src/vespa/searchvisitor/searchenvironment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h index f3bbfddd76c..05909c71ccb 100644 --- a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h +++ b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h @@ -10,10 +10,10 @@ #include <vespa/config/retriever/simpleconfigurer.h> #include <vespa/config/subscription/configuri.h> #include <vespa/vsm/vsm/vsm-adapter.h> -#include <vespa/fastlib/text/normwordfolder.h> #include <mutex> class FNET_Transport; +class Fast_NormalizeWordFolder; namespace search::fef { @@ -70,7 +70,7 @@ private: EnvMap _envMap; ThreadLocals _threadLocals; std::mutex _lock; - Fast_NormalizeWordFolder _wordFolder; + std::unique_ptr<Fast_NormalizeWordFolder> _wordFolder; config::ConfigUri _configUri; FNET_Transport* const _transport; vespalib::string _file_distributor_connection_spec; |